Implement spot position history retrieval in SpotBot and related services
- Added CheckSpotPositionInExchangeHistory method to SpotBot for verifying closed positions against exchange history. - Enhanced logging for Web3Proxy errors during position verification. - Introduced GetSpotPositionHistory method in IEvmManager, IExchangeService, and IWeb3ProxyService interfaces. - Implemented GetSpotPositionHistory in EvmManager and ExchangeService to fetch historical swap data. - Updated GMX SDK integration to support fetching spot position history. - Modified generated API types to include new trading type and position history structures.
This commit is contained in:
@@ -5216,6 +5216,7 @@ export interface TradingBotConfigRequest {
|
||||
useForPositionSizing?: boolean;
|
||||
useForSignalFiltering?: boolean;
|
||||
useForDynamicStopLoss?: boolean;
|
||||
tradingType?: TradingType;
|
||||
}
|
||||
|
||||
export interface ScenarioRequest {
|
||||
|
||||
@@ -721,6 +721,7 @@ export interface TradingBotConfigRequest {
|
||||
useForPositionSizing?: boolean;
|
||||
useForSignalFiltering?: boolean;
|
||||
useForDynamicStopLoss?: boolean;
|
||||
tradingType?: TradingType;
|
||||
}
|
||||
|
||||
export interface ScenarioRequest {
|
||||
|
||||
Reference in New Issue
Block a user