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

Public Member Functions

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
 

Properties

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

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

◆ CancelAsync()

Task ATAS.Strategies.ATM.IATMStrategy.CancelAsync ( )

◆ CancelOrderAsync()

Task ATAS.Strategies.ATM.IATMStrategy.CancelOrderAsync ( Order  order,
bool  isAutomated = true 
)

◆ CancelOrdersAsync()

Task ATAS.Strategies.ATM.IATMStrategy.CancelOrdersAsync ( IEnumerable< Order orders)

◆ Clone()

IATMStrategy ATAS.Strategies.ATM.IATMStrategy.Clone ( bool  cloneOrders = true)

◆ GetSettings()

◆ IsStopLoss()

bool ATAS.Strategies.ATM.IATMStrategy.IsStopLoss ( Order  order)

◆ IsTakeProfit()

bool ATAS.Strategies.ATM.IATMStrategy.IsTakeProfit ( Order  order)

◆ IsValidSettings()

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

◆ ModifyOrderAsync()

Task ATAS.Strategies.ATM.IATMStrategy.ModifyOrderAsync ( Order  order,
Order  newOrder,
bool  isAutomated = true 
)

◆ OpenOrderAsync()

Task ATAS.Strategies.ATM.IATMStrategy.OpenOrderAsync ( Order  order,
bool  isAutomated = true 
)

◆ ResetOrdersAsync()

Task ATAS.Strategies.ATM.IATMStrategy.ResetOrdersAsync ( )

◆ RetryAsync()

Task ATAS.Strategies.ATM.IATMStrategy.RetryAsync ( )

◆ SetSettings()

void ATAS.Strategies.ATM.IATMStrategy.SetSettings ( IStopProfitSettings  settings)

◆ StartFromWatchAsync()

Task ATAS.Strategies.ATM.IATMStrategy.StartFromWatchAsync ( )

◆ WatchAsync()

Task ATAS.Strategies.ATM.IATMStrategy.WatchAsync ( )

Member Data Documentation

◆ IsValid

bool ATAS.Strategies.ATM.IATMStrategy.IsValid

Property Documentation

◆ HasActiveOrders

bool ATAS.Strategies.ATM.IATMStrategy.HasActiveOrders
get

◆ MarketDataProvider

IStrategyMarketDataProvider ATAS.Strategies.ATM.IATMStrategy.MarketDataProvider
getset

Event Documentation

◆ SettingsChanged

EventHandler<EventArgs> ATAS.Strategies.ATM.IATMStrategy.SettingsChanged

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