Files
trading_bot_v4/app/api
mindesbunister 1acb5e7210 Add position scaling feature via Telegram
- New endpoint: /api/trading/scale-position to add to existing positions
- Calculates new average entry price after adding more size
- Cancels old TP/SL orders and places new ones at updated levels
- Telegram command: /scale [percent] (default 50%)
- Example: /scale 100 doubles your position
- Automatically adjusts Position Manager tracking with new values
- Cleaned up stale duplicate trade from database
2025-10-27 20:24:06 +01:00
..