ATAS
Loading...
Searching...
No Matches
ATAS.Strategies.ATM.ISupportCustomStopOrTake Interface Reference
Inheritance diagram for ATAS.Strategies.ATM.ISupportCustomStopOrTake:
[legend]
Collaboration diagram for ATAS.Strategies.ATM.ISupportCustomStopOrTake:
[legend]

Public Member Functions

bool CanSetCustomStop ()
 
bool CanSetCustomTake ()
 
Task SetCustomStopOrTake (PriceUnit? stop, PriceUnit? take)
 
IStopProfitSettings GetSettingsWithStopOrTake (PriceUnit? stop, PriceUnit? take)
 
- 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.
 

Additional Inherited Members

- Public Attributes inherited from ATAS.Strategies.ATM.IATMStrategy
bool IsValid
 
- 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

◆ CanSetCustomStop()

bool ATAS.Strategies.ATM.ISupportCustomStopOrTake.CanSetCustomStop ( )

◆ CanSetCustomTake()

bool ATAS.Strategies.ATM.ISupportCustomStopOrTake.CanSetCustomTake ( )

◆ GetSettingsWithStopOrTake()

IStopProfitSettings ATAS.Strategies.ATM.ISupportCustomStopOrTake.GetSettingsWithStopOrTake ( PriceUnit stop,
PriceUnit take 
)

◆ SetCustomStopOrTake()

Task ATAS.Strategies.ATM.ISupportCustomStopOrTake.SetCustomStopOrTake ( PriceUnit stop,
PriceUnit take 
)

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