ATAS
|
Represents a chart strategy that extends the basic functionality of an IStrategy with additional chart-related features. More...
Public Member Functions | |
void | StopWithNotification (string message) |
Stops the strategy with a notification message. | |
void | OpenOrder (Order order) |
Opens an order for the strategy. | |
void | ModifyOrder (Order order, Order newOrder) |
Modifies an existing order for the strategy. | |
void | CancelOrder (Order order) |
Cancels an existing order for the strategy. | |
Task | OpenOrderAsync (Order order) |
Opens an order for the strategy asynchronously. | |
Task | ModifyOrderAsync (Order order, Order newOrder) |
Modifies an existing order for the strategy asynchronously. | |
Task | CancelOrderAsync (Order order) |
Cancels an existing order for the strategy asynchronously. | |
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. | |
Properties | |
IEnumerable< Order > | Orders [get] |
Gets the collection of orders associated with this strategy. | |
IEnumerable< MyTrade > | MyTrades [get] |
Gets the collection of trades associated with this strategy. | |
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. | |
Additional Inherited Members | |
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. | |
Represents a chart strategy that extends the basic functionality of an IStrategy with additional chart-related features.
void ATAS.Strategies.Chart.IChartStrategy.CancelOrder | ( | Order | order | ) |
Cancels an existing order for the strategy.
order | The order to be canceled. |
Implemented in ATAS.Strategies.Chart.ChartStrategy.
Task ATAS.Strategies.Chart.IChartStrategy.CancelOrderAsync | ( | Order | order | ) |
Cancels an existing order for the strategy asynchronously.
order | The order to be canceled. |
Implemented in ATAS.Strategies.Chart.ChartStrategy.
Modifies an existing order for the strategy.
order | The order to be modified. |
newOrder | The new order with updated parameters. |
Implemented in ATAS.Strategies.Chart.ChartStrategy.
Modifies an existing order for the strategy asynchronously.
order | The order to be modified. |
newOrder | The new order with updated parameters. |
Implemented in ATAS.Strategies.Chart.ChartStrategy.
void ATAS.Strategies.Chart.IChartStrategy.OpenOrder | ( | Order | order | ) |
Opens an order for the strategy.
order | The order to be opened. |
Implemented in ATAS.Strategies.Chart.ChartStrategy.
Task ATAS.Strategies.Chart.IChartStrategy.OpenOrderAsync | ( | Order | order | ) |
Opens an order for the strategy asynchronously.
order | The order to be opened. |
Implemented in ATAS.Strategies.Chart.ChartStrategy.
void ATAS.Strategies.Chart.IChartStrategy.StopWithNotification | ( | string | message | ) |
Stops the strategy with a notification message.
message | The message to be displayed as a notification. |
Implemented in ATAS.Strategies.Chart.ChartStrategy.
|
get |
Gets the collection of trades associated with this strategy.
Implemented in ATAS.Strategies.Chart.ChartStrategy.
|
get |
Gets the collection of orders associated with this strategy.
Implemented in ATAS.Strategies.Chart.ChartStrategy.