Updated the stop-loss calculation for short positions to ensure it locks in profits effectively. Added logic to automatically synchronize stop-loss and take-profit orders for positions without existing SL/TP on the exchange. This improves risk management and ensures positions are adequately protected. Enhanced logging for better tracking of stop-loss updates and synchronization events. |
||
|---|---|---|
| backend | ||
| docs | ||
| frontend | ||
| recommendations-viewer | ||
| scripts | ||
| trading_system | ||
| . cursorignore | ||
| .cursorrules | ||
| .gitignore | ||