ATAS
Loading...
Searching...
No Matches
ATAS.Strategies.ATM.IStopProfitStrategy< TSettings > Interface Template Reference
Inheritance diagram for ATAS.Strategies.ATM.IStopProfitStrategy< TSettings >:
[legend]
Collaboration diagram for ATAS.Strategies.ATM.IStopProfitStrategy< TSettings >:
[legend]

Public Member Functions

void SetSettings (TSettings settings)
 
new TSettings GetSettings ()
 
bool IEnumerable< string > Errors IsValidSettings (TSettings settings, decimal? expectedPositionVolume=null, decimal? expectedPositionPrice=null)
 
- Public Member Functions inherited from ATAS.Strategies.ATM.IATMStrategy
Task WatchAsync ()
 
Task StartFromWatchAsync ()
 
Task RetryAsync ()
 
Task CancelAsync ()
 
Task ResetOrdersAsync ()
 
bool IsStopLoss (Order order)
 
bool IsTakeProfit (Order order)
 
Task OpenOrderAsync (Order order, bool isAutomated=true)
 
Task ModifyOrderAsync (Order order, Order newOrder, bool isAutomated=true)
 
Task CancelOrderAsync (Order order, bool isAutomated=true)
 
Task CancelOrdersAsync (IEnumerable< Order > orders)
 
IATMStrategy Clone (bool cloneOrders=true)
 
void SetSettings (IStopProfitSettings settings)
 
IStopProfitSettings GetSettings ()
 
bool IEnumerable< string > Errors IsValidSettings (IStopProfitSettings settings, decimal? expectedPositionVolume=null, decimal? expectedPositionPrice=null)
 
- Public Member Functions inherited from ATAS.Strategies.IStrategy
Task StartAsync ()
 Starts the strategy, allowing it to execute its trading logic.
 
Task StopAsync ()
 Stops the strategy, terminating its execution and releasing any resources.
 

Public Attributes

bool IsValid
 
- Public Attributes inherited from ATAS.Strategies.ATM.IATMStrategy
bool IsValid
 

Additional Inherited Members

- Properties inherited from ATAS.Strategies.ATM.IATMStrategy
bool HasActiveOrders [get]
 
IStrategyMarketDataProvider MarketDataProvider [get, set]
 
- Properties inherited from ATAS.Strategies.IStrategy
string Name [get, set]
 Gets or sets the name of the strategy.
 
StrategyStates State [get]
 Gets the current state of the strategy.
 
decimal CurrentPosition [get]
 Gets the current position volume of the strategy.
 
decimal AveragePrice [get]
 Gets the average price of the strategy's trades.
 
decimal OpenPnL [get]
 Gets the open profit and loss of the strategy.
 
decimal ClosedPnL [get]
 Gets the closed profit and loss of the strategy.
 
Security Security [get, set]
 Gets or sets the security associated with the strategy.
 
Portfolio Portfolio [get, set]
 Gets or sets the portfolio associated with the strategy.
 
TPlusLimitsTPlusLimit [get, set]
 Gets or sets the T+ limits for the strategy.
 
IDataFeedConnector Connector [get, set]
 Gets or sets the data feed connector for the strategy.
 
- Events inherited from ATAS.Strategies.ATM.IATMStrategy
EventHandler< EventArgs > SettingsChanged
 
- Events inherited from ATAS.Strategies.IStrategy
EventHandler< StrategyStateChangedEventArgsStateChanged
 Occurs when the state of the strategy changes.
 
EventHandler< StrategyNotificationEventArgsShowNotification
 Occurs when the strategy needs to show a notification or alert.
 

Member Function Documentation

◆ GetSettings()

◆ IsValidSettings()

bool IEnumerable< string > Errors ATAS.Strategies.ATM.IStopProfitStrategy< TSettings >.IsValidSettings ( TSettings  settings,
decimal?  expectedPositionVolume = null,
decimal?  expectedPositionPrice = null 
)

◆ SetSettings()

void ATAS.Strategies.ATM.IStopProfitStrategy< TSettings >.SetSettings ( TSettings  settings)

Member Data Documentation

◆ IsValid

bool ATAS.Strategies.ATM.IStopProfitStrategy< TSettings >.IsValid

The documentation for this interface was generated from the following file: