ATAS
Loading...
Searching...
No Matches
ATAS.Strategies.Chart.IChartStrategy Interface Reference

Represents a chart strategy that extends the basic functionality of an IStrategy with additional chart-related features. More...

Inheritance diagram for ATAS.Strategies.Chart.IChartStrategy:
[legend]
Collaboration diagram for ATAS.Strategies.Chart.IChartStrategy:
[legend]

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< OrderOrders [get]
 Gets the collection of orders associated with this strategy.
 
IEnumerable< MyTradeMyTrades [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.
 
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.
 

Additional Inherited Members

- 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.
 

Detailed Description

Represents a chart strategy that extends the basic functionality of an IStrategy with additional chart-related features.

Member Function Documentation

◆ CancelOrder()

void ATAS.Strategies.Chart.IChartStrategy.CancelOrder ( Order  order)

Cancels an existing order for the strategy.

Parameters
orderThe order to be canceled.

Implemented in ATAS.Strategies.Chart.ChartStrategy.

◆ CancelOrderAsync()

Task ATAS.Strategies.Chart.IChartStrategy.CancelOrderAsync ( Order  order)

Cancels an existing order for the strategy asynchronously.

Parameters
orderThe order to be canceled.

Implemented in ATAS.Strategies.Chart.ChartStrategy.

◆ ModifyOrder()

void ATAS.Strategies.Chart.IChartStrategy.ModifyOrder ( Order  order,
Order  newOrder 
)

Modifies an existing order for the strategy.

Parameters
orderThe order to be modified.
newOrderThe new order with updated parameters.

Implemented in ATAS.Strategies.Chart.ChartStrategy.

◆ ModifyOrderAsync()

Task ATAS.Strategies.Chart.IChartStrategy.ModifyOrderAsync ( Order  order,
Order  newOrder 
)

Modifies an existing order for the strategy asynchronously.

Parameters
orderThe order to be modified.
newOrderThe new order with updated parameters.

Implemented in ATAS.Strategies.Chart.ChartStrategy.

◆ OpenOrder()

void ATAS.Strategies.Chart.IChartStrategy.OpenOrder ( Order  order)

Opens an order for the strategy.

Parameters
orderThe order to be opened.

Implemented in ATAS.Strategies.Chart.ChartStrategy.

◆ OpenOrderAsync()

Task ATAS.Strategies.Chart.IChartStrategy.OpenOrderAsync ( Order  order)

Opens an order for the strategy asynchronously.

Parameters
orderThe order to be opened.

Implemented in ATAS.Strategies.Chart.ChartStrategy.

◆ StopWithNotification()

void ATAS.Strategies.Chart.IChartStrategy.StopWithNotification ( string  message)

Stops the strategy with a notification message.

Parameters
messageThe message to be displayed as a notification.


Implemented in ATAS.Strategies.Chart.ChartStrategy.

Property Documentation

◆ MyTrades

IEnumerable<MyTrade> ATAS.Strategies.Chart.IChartStrategy.MyTrades
get

Gets the collection of trades associated with this strategy.

Implemented in ATAS.Strategies.Chart.ChartStrategy.

◆ Orders

IEnumerable<Order> ATAS.Strategies.Chart.IChartStrategy.Orders
get

Gets the collection of orders associated with this strategy.

Implemented in ATAS.Strategies.Chart.ChartStrategy.


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