ATAS
Loading...
Searching...
No Matches
ATAS.DataFeedsCore.BasketConnector Class Reference
Inheritance diagram for ATAS.DataFeedsCore.BasketConnector:
[legend]
Collaboration diagram for ATAS.DataFeedsCore.BasketConnector:
[legend]

Public Member Functions

 BasketConnector (IDataFeedConnector dataFeedConnector, IDataFeedConnector tradingConnector)
 
void Connect ()
 
void Disconnect ()
 
async Task ConnectAsync ()
 
async Task DisconnectAsync ()
 
void SubscribeToMarketData (IEnumerable< Security > securities, SubscriptionType subscriptionTypes)
 
void SubscribeToMarketData (Security security, SubscriptionType subscriptionTypes)
 Подписка на маркет дату
 
void UnsubscribeFromMarketData (IEnumerable< Security > securities, SubscriptionType subscriptionTypes)
 
void UnsubscribeFromMarketData (Security security, SubscriptionType subscriptionTypes)
 Отписка от маркет даты
 
void SearchSecurities (SecurityFilter filter)
 Найти инструменты по заданному фильтру.
 
async Task< IEnumerable< Security > > SearchSecuritiesAsync (SecurityFilter filter)
 
async Task< IEnumerable< MyTrade > > RecoverTradesAsync (Security security, DateTime from, DateTime to)
 
void RegisterOrder (Order order)
 
void ModifyOrder (Order order, Order neworder)
 Модификация цены ордера.
 
void CancelOrder (Order order)
 
Task RegisterOrderAsync (Order order)
 
Task ModifyOrderAsync (Order order, Order newOrder)
 
Task CancelOrderAsync (Order order)
 
Order TryGetOrder (long extId)
 
IEnumerable< string > GetRoutes (Security security)
 
IEnumerable< PortfolioGetPortfolios (Security security)
 
Position GetPosition (Portfolio portfolio, Security security, TPlusLimits? tPlusLimit)
 
Task ClosePositionAsync (Position position)
 
Task ClosePositionsAsync (Portfolio portfolio)
 
Task ChangeMarginParametersAsync (Position position, bool? isolated=null, decimal? leverage=null)
 Switches position margin mode (isolated/cross) and/or trading leverage for it.
 
Task ChangeIsolatedMarginAsync (Position position, decimal value)
 Adds or removes to isolated margin of a position. This method does not apply for crossed margin mode
This method works only if Position.Risk property is not null.
 
decimal? CalcLiquidationPrice (Position position, decimal margin)
 Allows to estimate Liquidation Price change for a margin.
 
decimal?? decimal maxRemovable CalcIsolatedMarginChangeRange (Position position)
 
decimal ConvertCurrency (Security security, string currencyFrom, string currencyTo, decimal volume, decimal? limitPrice=null)
 Converts volume from one currency to another Used for Notional value calculation.
 
decimal? CalcMaxOrderVolume (OrderTypes orderType, Security security, Portfolio portfolio, OrderDirections direction, decimal? limitPrice=null)
 Gets max possible volume for the order
This function is always return null if IsSupportedMaxOrderCalculation is false.
 
decimal? CalcOrderCost (OrderTypes orderType, Security security, Portfolio portfolio, OrderDirections direction, decimal? limitPrice, decimal volume, out object? detailing, bool giveDetailing=false)
 Calculates total order cost including commissions and initial margin and everything else
This function is always return null if IsSupportedMaxOrderCalculation is false.
 
ISecurityTradingOptionsGetSecurityTradingOptions (Security security)
 Gets possible TimeInForce for order and optional flags that may be passed when order is created
If null default behaviour is expected:
TimeInForce = DAY, GTC, FOK
No order flags

 
Task< IEnumerable< MyTrade > > GetMyTradesAsync (Portfolio portfolio, Security security, DateTime from, DateTime to)
 Get a list of my trades.
 
void Connect ()
 
void Disconnect ()
 
Task ConnectAsync ()
 
Task DisconnectAsync ()
 
Task RegisterOrderAsync (Order order)
 
Task ModifyOrderAsync (Order order, Order newOrder)
 
Task CancelOrderAsync (Order order)
 
void CancelOrder (Order order)
 
void RegisterOrder (Order order)
 
void ModifyOrder (Order order, Order neworder)
 Модификация цены ордера.
 
Order TryGetOrder (long extId)
 
Position GetPosition (Portfolio portfolio, Security security, TPlusLimits? tPlusLimit)
 
Task ClosePositionAsync (Position position)
 
Task ClosePositionsAsync (Portfolio portfolio)
 
void SubscribeToMarketData (IEnumerable< Security > securities, SubscriptionType subscriptionTypes)
 
void SubscribeToMarketData (Security security, SubscriptionType subscriptionTypes)
 Подписка на маркет дату
 
void UnsubscribeFromMarketData (IEnumerable< Security > securities, SubscriptionType subscriptionTypes)
 
void UnsubscribeFromMarketData (Security security, SubscriptionType subscriptionTypes)
 Отписка от маркет даты
 
void SearchSecurities (SecurityFilter filter)
 Найти инструменты по заданному фильтру.
 
Task< IEnumerable< Security > > SearchSecuritiesAsync (SecurityFilter filter)
 
IEnumerable< string > GetRoutes (Security security)
 
IEnumerable< PortfolioGetPortfolios (Security security)
 
Task ChangeMarginParametersAsync (Position position, bool? isolated=null, decimal? leverage=null)
 Switches position margin mode (isolated/cross) and/or trading leverage for it.
 
Task ChangeIsolatedMarginAsync (Position position, decimal value)
 Adds or removes to isolated margin of a position. This method does not apply for crossed margin mode
This method works only if Position.Risk property is not null.
 
decimal? CalcLiquidationPrice (Position position, decimal margin)
 Allows to estimate Liquidation Price change for a margin.
 
decimal?? decimal maxRemovable CalcIsolatedMarginChangeRange (Position position)
 
decimal ConvertCurrency (Security security, string currencyFrom, string currencyTo, decimal volume, decimal? limitPrice=null)
 Converts volume from one currency to another Used for Notional value calculation.
 
decimal? CalcMaxOrderVolume (OrderTypes orderType, Security security, Portfolio portfolio, OrderDirections direction, decimal? limitPrice=null)
 Gets max possible volume for the order
This function is always return null if IsSupportedMaxOrderCalculation is false.
 
decimal? CalcOrderCost (OrderTypes orderType, Security security, Portfolio portfolio, OrderDirections direction, decimal? limitPrice, decimal volume, out object? detailing, bool giveDetailing=false)
 Calculates total order cost including commissions and initial margin and everything else
This function is always return null if IsSupportedMaxOrderCalculation is false.
 
ISecurityTradingOptionsGetSecurityTradingOptions (Security security)
 Gets possible TimeInForce for order and optional flags that may be passed when order is created
If null default behaviour is expected:
TimeInForce = DAY, GTC, FOK
No order flags

 
Task< IEnumerable< MyTrade > > GetMyTradesAsync (Portfolio portfolio, Security security, DateTime from, DateTime to)
 Get a list of my trades.
 

Public Attributes

decimal? maxAddable
 
- Public Attributes inherited from ATAS.DataFeedsCore.IDataFeedConnector
decimal? maxAddable
 Calculates possible changes of the isolated margin of a position (only for leveraged trading)
 

Properties

IDataFeedConnector DataFeedConnector [get]
 
IDataFeedConnector TradingConnector [get]
 
Guid Id [get]
 
MarketDataDelayPeriods MarketDataDelayPeriod [get, set]
 Gets or sets delay period for market data.
 
IEntityFactory Factory [get, set]
 Фабрика объектов для создания Security, Portfolio и т.д.
 
ITimeSyncManager DefaultTimeSyncManager [get, set]
 Default ITimeSyncManager to get time difference with NTP server.
 
string DataPath [get, set]
 
bool MarketDataStreamEnabled [get, set]
 Отправлять ли маркет дату в BestBidAskUpdates,MarketDepthsUpdate,NewTrades.
 
bool AllowUpdatePositionsPnL [get, set]
 
bool ServerMode [get, set]
 
bool ReconnectOnFirstConnect [get, set]
 
ConnectionStates ConnectionState [get]
 Текущее состояние подключения коннектора.
 
bool IsConnected [get]
 
TimeOnly? RefreshSecuritiesTime [get, set]
 
IEnumerable< SecuritySecurities [get]
 
IEnumerable< PortfolioPortfolios [get]
 
IEnumerable< PositionPositions [get]
 
IEnumerable< OrderOrders [get]
 
IEnumerable< MyTradeMyTrades [get]
 
bool HasPendingActions [get]
 
IConnectorLatencyManager LatencyManager [get]
 Latency manager.
 
bool IsFullLicense [get, set]
 License type.
 
bool NeedRebatesCheck [get, set]
 Has rebate check feature.
 
bool IsSupportedServerOCO [get]
 Поддерживает ли коннектор серверные ОСО ордера
 
bool IsSupportedStopOrders [get]
 Поддерживает ли коннектор стоп ордера
 
bool IsSupportedTradingFunctions [get]
 Поддерживает ли коннектор торговые функции
 
bool IsSupportedRussianMarket [get]
 Поддерживает ли коннектор инструменты Российского рынка
 
bool IsSupportedAmericanFutures [get]
 Поддерживает ли коннектор американские фьючерсы
 
bool IsSupportedAmericanStocks [get]
 Поддерживает ли коннектор американские фьючерсы
 
bool IsSupportedCrypto [get]
 Поддерживает ли коннектор крипто инструменты
 
bool IsSupportedMaxOrderCalculation [get]
 Does connector support max order calculation for the instrument
This feature enables percentage slider under the volume input box
Affects CalcMaxOrderVolume and CalcOrderCost methods.
 
bool IsSupportedServerTime [get]
 Does connector supports getting exchange server time.
 
- Properties inherited from ATAS.DataFeedsCore.IDataFeedConnector
Guid Id [get]
 
bool IsSupportedServerOCO [get]
 Поддерживает ли коннектор серверные ОСО ордера
 
bool IsSupportedStopOrders [get]
 Поддерживает ли коннектор стоп ордера
 
bool IsSupportedTradingFunctions [get]
 Поддерживает ли коннектор торговые функции
 
bool IsConnected [get]
 
ConnectionStates ConnectionState [get]
 Текущее состояние подключения коннектора.
 
MarketDataDelayPeriods MarketDataDelayPeriod [get, set]
 Gets or sets delay period for market data.
 
bool IsSupportedRussianMarket [get]
 Поддерживает ли коннектор инструменты Российского рынка
 
bool IsSupportedAmericanFutures [get]
 Поддерживает ли коннектор американские фьючерсы
 
bool IsSupportedAmericanStocks [get]
 Поддерживает ли коннектор американские фьючерсы
 
bool IsSupportedCrypto [get]
 Поддерживает ли коннектор крипто инструменты
 
bool IsSupportedMaxOrderCalculation [get]
 Does connector support max order calculation for the instrument
This feature enables percentage slider under the volume input box
Affects CalcMaxOrderVolume and CalcOrderCost methods.
 
bool IsSupportedServerTime [get]
 Does connector supports getting exchange server time.
 
bool MarketDataStreamEnabled [get, set]
 Отправлять ли маркет дату в BestBidAskUpdates,MarketDepthsUpdate,NewTrades.
 
bool AllowUpdatePositionsPnL [get, set]
 
IEntityFactory Factory [get, set]
 Фабрика объектов для создания Security, Portfolio и т.д.
 
ITimeSyncManager? DefaultTimeSyncManager [get, set]
 Default ITimeSyncManager to get time difference with NTP server.
 
string DataPath [get, set]
 
IConnectorLatencyManager LatencyManager [get]
 Latency manager.
 
bool IsFullLicense [get, set]
 License type.
 
bool NeedRebatesCheck [get, set]
 Has rebate check feature.
 
IEnumerable< SecuritySecurities [get]
 
IEnumerable< PortfolioPortfolios [get]
 
IEnumerable< MyTradeMyTrades [get]
 
IEnumerable< OrderOrders [get]
 
IEnumerable< PositionPositions [get]
 
TimeOnly? RefreshSecuritiesTime [get, set]
 
bool HasPendingActions [get]
 
bool ServerMode [get, set]
 
bool ReconnectOnFirstConnect [get, set]
 

Events

ConnectorEventHandler< ConnectionStateEventArgs >? ConnectionStateChanged
 
ConnectorEventHandlerConnected
 
ConnectorEventHandlerDisconnected
 
ConnectorEventHandler< IEnumerable< MyTrade > >? NewMyTrades
 
ConnectorEventHandler< IEnumerable< Order > >? NewOrders
 
ConnectorEventHandler< IEnumerable< Position > >? NewPositions
 
ConnectorEventHandler< IEnumerable< Portfolio > >? NewPortfolios
 
ConnectorEventHandler< IEnumerable< Security > >? NewSecurities
 
ConnectorEventHandler< Order >? OrderChanged
 
ConnectorEventHandler< string, Order >? OrdersRegisterFailed
 
ConnectorEventHandler< string, Order >? OrdersCancelFailed
 
ConnectorEventHandler< Order, Order, string >? OrderModifyFailed
 
ConnectorEventHandler< IEnumerable< Portfolio > >? PortfoliosChanged
 
ConnectorEventHandler< IEnumerable< Position > >? PositionsChanged
 
ConnectorEventHandler< MarketDepth >? BestBidAskUpdates
 
ConnectorEventHandler< IEnumerable< MarketDepth > >? MarketDepthsUpdate
 
ConnectorEventHandler< MarketByOrder >? MarketByOrderChanged
 
ConnectorEventHandler< IEnumerable< Trade > >? NewTrades
 
ConnectorEventHandler< Security >? SecurityChanged
 
ConnectorEventHandler< Exception >? Error
 
ConnectorEventHandler< SecurityFilter, Exception?, IEnumerable< Security > >? SearchSecuritiesResult
 
ConnectorEventHandler< Security, Exception?>? RegisterSecurityResult
 
ConnectorEventHandler< News >? NewNews
 
ConnectorEventHandler< RebateResult >? RebateReceived
 
- Events inherited from ATAS.DataFeedsCore.IDataFeedConnector
ConnectorEventHandler< ConnectionStateEventArgs >? ConnectionStateChanged
 
ConnectorEventHandlerConnected
 
ConnectorEventHandlerDisconnected
 
ConnectorEventHandler< IEnumerable< MyTrade > >? NewMyTrades
 
ConnectorEventHandler< IEnumerable< Order > >? NewOrders
 
ConnectorEventHandler< IEnumerable< Position > >? NewPositions
 
ConnectorEventHandler< IEnumerable< Portfolio > >? NewPortfolios
 
ConnectorEventHandler< IEnumerable< Security > >? NewSecurities
 
ConnectorEventHandler< Order >? OrderChanged
 
ConnectorEventHandler< string, Order >? OrdersRegisterFailed
 
ConnectorEventHandler< string, Order >? OrdersCancelFailed
 
ConnectorEventHandler< Order, Order, string >? OrderModifyFailed
 
ConnectorEventHandler< IEnumerable< Portfolio > >? PortfoliosChanged
 
ConnectorEventHandler< IEnumerable< Position > >? PositionsChanged
 
ConnectorEventHandler< MarketDepth >? BestBidAskUpdates
 
ConnectorEventHandler< IEnumerable< MarketDepth > >? MarketDepthsUpdate
 
ConnectorEventHandler< MarketByOrderMarketByOrderChanged
 
ConnectorEventHandler< IEnumerable< Trade > >? NewTrades
 
ConnectorEventHandler< Security >? SecurityChanged
 
ConnectorEventHandler< Exception >? Error
 Сообщения об ошибках
 
ConnectorEventHandler< SecurityFilter, Exception?, IEnumerable< Security > >? SearchSecuritiesResult
 
ConnectorEventHandler< Security, Exception?>? RegisterSecurityResult
 
ConnectorEventHandler< News >? NewNews
 
ConnectorEventHandler< RebateResult >? RebateReceived
 

Constructor & Destructor Documentation

◆ BasketConnector()

ATAS.DataFeedsCore.BasketConnector.BasketConnector ( IDataFeedConnector  dataFeedConnector,
IDataFeedConnector  tradingConnector 
)

Member Function Documentation

◆ CalcIsolatedMarginChangeRange()

decimal?? decimal maxRemovable ATAS.DataFeedsCore.BasketConnector.CalcIsolatedMarginChangeRange ( Position  position)

◆ CalcLiquidationPrice()

decimal? ATAS.DataFeedsCore.BasketConnector.CalcLiquidationPrice ( Position  position,
decimal  margin 
)

Allows to estimate Liquidation Price change for a margin.

Parameters
positionPosition to calculate for
marginAbsolute margin for calculation
Returns
null if calculation is not supported

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ CalcMaxOrderVolume()

decimal? ATAS.DataFeedsCore.BasketConnector.CalcMaxOrderVolume ( OrderTypes  orderType,
Security  security,
Portfolio  portfolio,
OrderDirections  direction,
decimal?  limitPrice = null 
)

Gets max possible volume for the order
This function is always return null if IsSupportedMaxOrderCalculation is false.

Parameters
orderType
positionPosition for calculation
direction
limitPriceoptional limit price to calculate volume at. If null market price will be used
Returns

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ CalcOrderCost()

decimal? ATAS.DataFeedsCore.BasketConnector.CalcOrderCost ( OrderTypes  orderType,
Security  security,
Portfolio  portfolio,
OrderDirections  direction,
decimal?  limitPrice,
decimal  volume,
out object?  detailing,
bool  giveDetailing = false 
)

Calculates total order cost including commissions and initial margin and everything else
This function is always return null if IsSupportedMaxOrderCalculation is false.

Parameters
orderType
position
direction
limitPricepass null to use market price for calculation
volumeDesired volume of contracts to make order
detailingAn object explaining each item which builds up the final price
giveDetailingtrue for request detailing
Returns
Complete order cost including requested volume and all commissions and margins

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ CancelOrder()

void ATAS.DataFeedsCore.BasketConnector.CancelOrder ( Order  order)

◆ CancelOrderAsync()

Task ATAS.DataFeedsCore.BasketConnector.CancelOrderAsync ( Order  order)

◆ ChangeIsolatedMarginAsync()

Task ATAS.DataFeedsCore.BasketConnector.ChangeIsolatedMarginAsync ( Position  position,
decimal  value 
)

Adds or removes to isolated margin of a position. This method does not apply for crossed margin mode
This method works only if Position.Risk property is not null.

Parameters
position
valueUse positive value to add margin and negative to reduce
Returns

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ ChangeMarginParametersAsync()

Task ATAS.DataFeedsCore.BasketConnector.ChangeMarginParametersAsync ( Position  position,
bool?  isolated = null,
decimal?  leverage = null 
)

Switches position margin mode (isolated/cross) and/or trading leverage for it.

Pass null if parameter should not be changed

This method works only if Position.Risk property is not null

Parameters
position
isolatedTrue for isolated, False for crossed mode
leverage
Returns

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ ClosePositionAsync()

Task ATAS.DataFeedsCore.BasketConnector.ClosePositionAsync ( Position  position)

◆ ClosePositionsAsync()

Task ATAS.DataFeedsCore.BasketConnector.ClosePositionsAsync ( Portfolio  portfolio)

◆ Connect()

void ATAS.DataFeedsCore.BasketConnector.Connect ( )

◆ ConnectAsync()

async Task ATAS.DataFeedsCore.BasketConnector.ConnectAsync ( )

◆ ConvertCurrency()

decimal ATAS.DataFeedsCore.BasketConnector.ConvertCurrency ( Security  security,
string  currencyFrom,
string  currencyTo,
decimal  volume,
decimal?  limitPrice = null 
)

Converts volume from one currency to another Used for Notional value calculation.

Parameters
security
currencyFrom
currencyTo
volume
limitPriceoptional value in QuoteCurrency
Returns
Exceptions
ArgumentNullException
ArgumentException

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ Disconnect()

void ATAS.DataFeedsCore.BasketConnector.Disconnect ( )

◆ DisconnectAsync()

async Task ATAS.DataFeedsCore.BasketConnector.DisconnectAsync ( )

◆ GetMyTradesAsync()

Task< IEnumerable< MyTrade > > ATAS.DataFeedsCore.BasketConnector.GetMyTradesAsync ( Portfolio  portfolio,
Security  security,
DateTime  from,
DateTime  to 
)

Get a list of my trades.

Parameters
portfolioPortfolio.
securitySecurity.
fromFrom date.
toTo date.
Returns

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ GetPortfolios()

IEnumerable< Portfolio > ATAS.DataFeedsCore.BasketConnector.GetPortfolios ( Security  security)

◆ GetPosition()

Position ATAS.DataFeedsCore.BasketConnector.GetPosition ( Portfolio  portfolio,
Security  security,
TPlusLimits tPlusLimit 
)

◆ GetRoutes()

IEnumerable< string > ATAS.DataFeedsCore.BasketConnector.GetRoutes ( Security  security)

◆ GetSecurityTradingOptions()

ISecurityTradingOptions? ATAS.DataFeedsCore.BasketConnector.GetSecurityTradingOptions ( Security  security)

Gets possible TimeInForce for order and optional flags that may be passed when order is created
If null default behaviour is expected:
TimeInForce = DAY, GTC, FOK
No order flags

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ ModifyOrder()

void ATAS.DataFeedsCore.BasketConnector.ModifyOrder ( Order  order,
Order  neworder 
)

Модификация цены ордера.

Parameters
orderОрдер
neworderНовый ордер с новыми параметрами

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ ModifyOrderAsync()

Task ATAS.DataFeedsCore.BasketConnector.ModifyOrderAsync ( Order  order,
Order  newOrder 
)

◆ RecoverTradesAsync()

async Task< IEnumerable< MyTrade > > ATAS.DataFeedsCore.BasketConnector.RecoverTradesAsync ( Security  security,
DateTime  from,
DateTime  to 
)

◆ RegisterOrder()

void ATAS.DataFeedsCore.BasketConnector.RegisterOrder ( Order  order)

◆ RegisterOrderAsync()

Task ATAS.DataFeedsCore.BasketConnector.RegisterOrderAsync ( Order  order)

◆ SearchSecurities()

void ATAS.DataFeedsCore.BasketConnector.SearchSecurities ( SecurityFilter  filter)

Найти инструменты по заданному фильтру.

Parameters
filter

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ SearchSecuritiesAsync()

async Task< IEnumerable< Security > > ATAS.DataFeedsCore.BasketConnector.SearchSecuritiesAsync ( SecurityFilter  filter)

◆ SubscribeToMarketData() [1/2]

void ATAS.DataFeedsCore.BasketConnector.SubscribeToMarketData ( IEnumerable< Security securities,
SubscriptionType  subscriptionTypes 
)

◆ SubscribeToMarketData() [2/2]

void ATAS.DataFeedsCore.BasketConnector.SubscribeToMarketData ( Security  security,
SubscriptionType  subscriptionTypes 
)

Подписка на маркет дату

Parameters
securityИнструмент
subscriptionTypesФлаги

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ TryGetOrder()

Order ATAS.DataFeedsCore.BasketConnector.TryGetOrder ( long  extId)

◆ UnsubscribeFromMarketData() [1/2]

void ATAS.DataFeedsCore.BasketConnector.UnsubscribeFromMarketData ( IEnumerable< Security securities,
SubscriptionType  subscriptionTypes 
)

◆ UnsubscribeFromMarketData() [2/2]

void ATAS.DataFeedsCore.BasketConnector.UnsubscribeFromMarketData ( Security  security,
SubscriptionType  subscriptionTypes 
)

Отписка от маркет даты

Parameters
securityИнструмент
subscriptionTypesФлаги

Implements ATAS.DataFeedsCore.IDataFeedConnector.

Member Data Documentation

◆ maxAddable

decimal? ATAS.DataFeedsCore.BasketConnector.maxAddable

Property Documentation

◆ AllowUpdatePositionsPnL

bool ATAS.DataFeedsCore.BasketConnector.AllowUpdatePositionsPnL
getset

◆ ConnectionState

ConnectionStates ATAS.DataFeedsCore.BasketConnector.ConnectionState
get

Текущее состояние подключения коннектора.

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ DataFeedConnector

IDataFeedConnector ATAS.DataFeedsCore.BasketConnector.DataFeedConnector
get

◆ DataPath

string ATAS.DataFeedsCore.BasketConnector.DataPath
getset

◆ DefaultTimeSyncManager

ITimeSyncManager ATAS.DataFeedsCore.BasketConnector.DefaultTimeSyncManager
getset

Default ITimeSyncManager to get time difference with NTP server.

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ Factory

IEntityFactory ATAS.DataFeedsCore.BasketConnector.Factory
getset

Фабрика объектов для создания Security, Portfolio и т.д.

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ HasPendingActions

bool ATAS.DataFeedsCore.BasketConnector.HasPendingActions
get

◆ Id

Guid ATAS.DataFeedsCore.BasketConnector.Id
get

◆ IsConnected

bool ATAS.DataFeedsCore.BasketConnector.IsConnected
get

◆ IsFullLicense

bool ATAS.DataFeedsCore.BasketConnector.IsFullLicense
getset

License type.

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ IsSupportedAmericanFutures

bool ATAS.DataFeedsCore.BasketConnector.IsSupportedAmericanFutures
get

Поддерживает ли коннектор американские фьючерсы

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ IsSupportedAmericanStocks

bool ATAS.DataFeedsCore.BasketConnector.IsSupportedAmericanStocks
get

Поддерживает ли коннектор американские фьючерсы

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ IsSupportedCrypto

bool ATAS.DataFeedsCore.BasketConnector.IsSupportedCrypto
get

Поддерживает ли коннектор крипто инструменты

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ IsSupportedMaxOrderCalculation

bool ATAS.DataFeedsCore.BasketConnector.IsSupportedMaxOrderCalculation
get

Does connector support max order calculation for the instrument
This feature enables percentage slider under the volume input box
Affects CalcMaxOrderVolume and CalcOrderCost methods.

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ IsSupportedRussianMarket

bool ATAS.DataFeedsCore.BasketConnector.IsSupportedRussianMarket
get

Поддерживает ли коннектор инструменты Российского рынка

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ IsSupportedServerOCO

bool ATAS.DataFeedsCore.BasketConnector.IsSupportedServerOCO
get

Поддерживает ли коннектор серверные ОСО ордера

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ IsSupportedServerTime

bool ATAS.DataFeedsCore.BasketConnector.IsSupportedServerTime
get

Does connector supports getting exchange server time.

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ IsSupportedStopOrders

bool ATAS.DataFeedsCore.BasketConnector.IsSupportedStopOrders
get

Поддерживает ли коннектор стоп ордера

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ IsSupportedTradingFunctions

bool ATAS.DataFeedsCore.BasketConnector.IsSupportedTradingFunctions
get

Поддерживает ли коннектор торговые функции

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ LatencyManager

IConnectorLatencyManager ATAS.DataFeedsCore.BasketConnector.LatencyManager
get

Latency manager.

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ MarketDataDelayPeriod

MarketDataDelayPeriods ATAS.DataFeedsCore.BasketConnector.MarketDataDelayPeriod
getset

Gets or sets delay period for market data.

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ MarketDataStreamEnabled

bool ATAS.DataFeedsCore.BasketConnector.MarketDataStreamEnabled
getset

Отправлять ли маркет дату в BestBidAskUpdates,MarketDepthsUpdate,NewTrades.

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ MyTrades

IEnumerable<MyTrade> ATAS.DataFeedsCore.BasketConnector.MyTrades
get

◆ NeedRebatesCheck

bool ATAS.DataFeedsCore.BasketConnector.NeedRebatesCheck
getset

Has rebate check feature.

Implements ATAS.DataFeedsCore.IDataFeedConnector.

◆ Orders

IEnumerable<Order> ATAS.DataFeedsCore.BasketConnector.Orders
get

◆ Portfolios

IEnumerable<Portfolio> ATAS.DataFeedsCore.BasketConnector.Portfolios
get

◆ Positions

IEnumerable<Position> ATAS.DataFeedsCore.BasketConnector.Positions
get

◆ ReconnectOnFirstConnect

bool ATAS.DataFeedsCore.BasketConnector.ReconnectOnFirstConnect
getset

◆ RefreshSecuritiesTime

TimeOnly? ATAS.DataFeedsCore.BasketConnector.RefreshSecuritiesTime
getset

◆ Securities

IEnumerable<Security> ATAS.DataFeedsCore.BasketConnector.Securities
get

◆ ServerMode

bool ATAS.DataFeedsCore.BasketConnector.ServerMode
getset

◆ TradingConnector

IDataFeedConnector ATAS.DataFeedsCore.BasketConnector.TradingConnector
get

Event Documentation

◆ BestBidAskUpdates

ConnectorEventHandler<MarketDepth>? ATAS.DataFeedsCore.BasketConnector.BestBidAskUpdates

◆ Connected

ConnectorEventHandler? ATAS.DataFeedsCore.BasketConnector.Connected

◆ ConnectionStateChanged

ConnectorEventHandler<ConnectionStateEventArgs>? ATAS.DataFeedsCore.BasketConnector.ConnectionStateChanged

◆ Disconnected

ConnectorEventHandler? ATAS.DataFeedsCore.BasketConnector.Disconnected

◆ Error

ConnectorEventHandler<Exception>? ATAS.DataFeedsCore.BasketConnector.Error

◆ MarketByOrderChanged

ConnectorEventHandler<MarketByOrder>? ATAS.DataFeedsCore.BasketConnector.MarketByOrderChanged

◆ MarketDepthsUpdate

ConnectorEventHandler<IEnumerable<MarketDepth> >? ATAS.DataFeedsCore.BasketConnector.MarketDepthsUpdate

◆ NewMyTrades

ConnectorEventHandler<IEnumerable<MyTrade> >? ATAS.DataFeedsCore.BasketConnector.NewMyTrades

◆ NewNews

ConnectorEventHandler<News>? ATAS.DataFeedsCore.BasketConnector.NewNews

◆ NewOrders

ConnectorEventHandler<IEnumerable<Order> >? ATAS.DataFeedsCore.BasketConnector.NewOrders

◆ NewPortfolios

ConnectorEventHandler<IEnumerable<Portfolio> >? ATAS.DataFeedsCore.BasketConnector.NewPortfolios

◆ NewPositions

ConnectorEventHandler<IEnumerable<Position> >? ATAS.DataFeedsCore.BasketConnector.NewPositions

◆ NewSecurities

ConnectorEventHandler<IEnumerable<Security> >? ATAS.DataFeedsCore.BasketConnector.NewSecurities

◆ NewTrades

ConnectorEventHandler<IEnumerable<Trade> >? ATAS.DataFeedsCore.BasketConnector.NewTrades

◆ OrderChanged

ConnectorEventHandler<Order>? ATAS.DataFeedsCore.BasketConnector.OrderChanged

◆ OrderModifyFailed

ConnectorEventHandler<Order, Order, string>? ATAS.DataFeedsCore.BasketConnector.OrderModifyFailed

◆ OrdersCancelFailed

ConnectorEventHandler<string, Order>? ATAS.DataFeedsCore.BasketConnector.OrdersCancelFailed

◆ OrdersRegisterFailed

ConnectorEventHandler<string, Order>? ATAS.DataFeedsCore.BasketConnector.OrdersRegisterFailed

◆ PortfoliosChanged

ConnectorEventHandler<IEnumerable<Portfolio> >? ATAS.DataFeedsCore.BasketConnector.PortfoliosChanged

◆ PositionsChanged

ConnectorEventHandler<IEnumerable<Position> >? ATAS.DataFeedsCore.BasketConnector.PositionsChanged

◆ RebateReceived

ConnectorEventHandler<RebateResult>? ATAS.DataFeedsCore.BasketConnector.RebateReceived

◆ RegisterSecurityResult

ConnectorEventHandler<Security, Exception?>? ATAS.DataFeedsCore.BasketConnector.RegisterSecurityResult

◆ SearchSecuritiesResult

ConnectorEventHandler<SecurityFilter, Exception?, IEnumerable<Security> >? ATAS.DataFeedsCore.BasketConnector.SearchSecuritiesResult

◆ SecurityChanged

ConnectorEventHandler<Security>? ATAS.DataFeedsCore.BasketConnector.SecurityChanged

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