Refactoring TradingBotBase.cs + clean architecture (#38)
* Refactoring TradingBotBase.cs + clean architecture * Fix basic tests * Fix tests * Fix workers * Fix open positions * Fix closing position stucking the grain * Fix comments * Refactor candle handling to use IReadOnlyList for chronological order preservation across various components
This commit is contained in:
@@ -606,4 +606,20 @@ public static class Enums
|
||||
/// </summary>
|
||||
Genetic
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Type of trading mode for trading bots
|
||||
/// </summary>
|
||||
public enum TradingType
|
||||
{
|
||||
/// <summary>
|
||||
/// Live futures trading mode
|
||||
/// </summary>
|
||||
Futures,
|
||||
|
||||
/// <summary>
|
||||
/// Backtest futures trading mode
|
||||
/// </summary>
|
||||
BacktestFutures
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user