You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove LoadOperationsFrom config setting and implement automatic calculation
The LoadOperationsFrom setting has been removed from configuration files
and is now calculated automatically. The system uses the maximum of either
the account open date or 30 days ago as the starting point for loading
operations, preventing the need for manual updates that could cause errors.
Changes:
- Made LoadOperationsFrom nullable in TradingSettings
- Removed LoadOperationsFrom from both appsettings files
- Implemented automatic calculation logic in TradingService constructor
- Updated README.md to remove documentation for the removed setting
- Added informative logging for both configured and calculated values
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: csharp/TraderBot/README.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,6 @@ Configuration is located in `appsettings.json` file.
78
78
|`TradingSettings`/`MinimumMarketOrderSizeToSell`| Minimum size of the market order to sell. The price will be not acceptable unless there is that much lots on the market at this price. |
79
79
|`TradingSettings`/`EarlySellOwnedLotsDelta`| A constant component of the minimum number of lots that the market order placed at the buy price should have in order to trigger the immediate sell order. Complete formula: (`TradingSettings`/`EarlySellOwnedLotsDelta` + `TradingSettings`/`EarlySellOwnedLotsMultiplier` * `Lots requested to sell`). |
80
80
|`TradingSettings`/`EarlySellOwnedLotsMultiplier`| A multiplier of lots requested to sell. A component of the minimum number of lots that the market order placed at the buy price should have in order to trigger the immediate sell order. Complete formula: (`TradingSettings`/`EarlySellOwnedLotsDelta` + `TradingSettings`/`EarlySellOwnedLotsMultiplier` * `Lots requested to sell`). |
81
-
|`TradingSettings`/`LoadOperationsFrom`| Minimum data and time to load operations from. |
0 commit comments