ATAS
|
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. | |
TPlusLimits? | TPlusLimit [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< StrategyStateChangedEventArgs > | StateChanged |
Occurs when the state of the strategy changes. | |
EventHandler< StrategyNotificationEventArgs > | ShowNotification |
Occurs when the strategy needs to show a notification or alert. | |
Task ATAS.Strategies.ATM.IATMStrategy.CancelAsync | ( | ) |
Implemented in ATAS.Strategies.ATM.ATMStrategy< TStrategy >.
Task ATAS.Strategies.ATM.IATMStrategy.CancelOrderAsync | ( | Order | order, |
bool | isAutomated = true |
||
) |
Task ATAS.Strategies.ATM.IATMStrategy.CancelOrdersAsync | ( | IEnumerable< Order > | orders | ) |
Implemented in ATAS.Strategies.ATM.ATMStrategy< TStrategy >.
IATMStrategy ATAS.Strategies.ATM.IATMStrategy.Clone | ( | bool | cloneOrders = true | ) |
Implemented in ATAS.Strategies.ATM.ATMStrategy< TStrategy >.
IStopProfitSettings ATAS.Strategies.ATM.IATMStrategy.GetSettings | ( | ) |
bool ATAS.Strategies.ATM.IATMStrategy.IsStopLoss | ( | Order | order | ) |
Implemented in ATAS.Strategies.ATM.ATMStrategy< TStrategy >.
bool ATAS.Strategies.ATM.IATMStrategy.IsTakeProfit | ( | Order | order | ) |
Implemented in ATAS.Strategies.ATM.ATMStrategy< TStrategy >.
bool IEnumerable< string > Errors ATAS.Strategies.ATM.IATMStrategy.IsValidSettings | ( | IStopProfitSettings | settings, |
decimal? | expectedPositionVolume = null , |
||
decimal? | expectedPositionPrice = null |
||
) |
Implemented in ATAS.Strategies.ATM.ATMStrategy< TStrategy >.
Task ATAS.Strategies.ATM.IATMStrategy.ModifyOrderAsync | ( | Order | order, |
Order | newOrder, | ||
bool | isAutomated = true |
||
) |
Task ATAS.Strategies.ATM.IATMStrategy.OpenOrderAsync | ( | Order | order, |
bool | isAutomated = true |
||
) |
Task ATAS.Strategies.ATM.IATMStrategy.ResetOrdersAsync | ( | ) |
Implemented in ATAS.Strategies.ATM.ATMStrategy< TStrategy >.
Task ATAS.Strategies.ATM.IATMStrategy.RetryAsync | ( | ) |
Implemented in ATAS.Strategies.ATM.ATMStrategy< TStrategy >.
void ATAS.Strategies.ATM.IATMStrategy.SetSettings | ( | IStopProfitSettings | settings | ) |
Implemented in ATAS.Strategies.ATM.ATMStrategy< TStrategy >.
Task ATAS.Strategies.ATM.IATMStrategy.StartFromWatchAsync | ( | ) |
Task ATAS.Strategies.ATM.IATMStrategy.WatchAsync | ( | ) |
bool ATAS.Strategies.ATM.IATMStrategy.IsValid |
|
get |
Implemented in ATAS.Strategies.ATM.ATMStrategy< TStrategy >.
|
getset |
Implemented in ATAS.Strategies.ATM.ATMStrategy< TStrategy >.
EventHandler<EventArgs> ATAS.Strategies.ATM.IATMStrategy.SettingsChanged |