ATAS
Loading...
Searching...
No Matches
ATAS.DataFeedsCore.ISecurityPositionManager Interface Reference
Inheritance diagram for ATAS.DataFeedsCore.ISecurityPositionManager:
[legend]

Public Member Functions

void Clear ()
 
bool GetIsChanged ()
 
bool GetIsNeedSubscribeLevel1 ()
 
bool Update (decimal? volume=null, decimal? averagePrice=null, decimal? openedPnL=null, decimal? closedPnL=null, decimal? commission=null, decimal? openVolume=null, RiskInfo? risk=null)
 
bool UpdateAveragePriceByTrades ()
 
bool UpdateOpenPnL (Security security, MarketDataType type, decimal price)
 
bool Process (Order order)
 
bool Process (MyTrade trade)
 
void SetAveragePrice (decimal avgPrice)
 

Properties

Position Position [get]
 
bool IsPositionInitialized [get]
 

Member Function Documentation

◆ Clear()

void ATAS.DataFeedsCore.ISecurityPositionManager.Clear ( )

◆ GetIsChanged()

bool ATAS.DataFeedsCore.ISecurityPositionManager.GetIsChanged ( )

◆ GetIsNeedSubscribeLevel1()

bool ATAS.DataFeedsCore.ISecurityPositionManager.GetIsNeedSubscribeLevel1 ( )

◆ Process() [1/2]

bool ATAS.DataFeedsCore.ISecurityPositionManager.Process ( MyTrade  trade)

◆ Process() [2/2]

bool ATAS.DataFeedsCore.ISecurityPositionManager.Process ( Order  order)

◆ SetAveragePrice()

void ATAS.DataFeedsCore.ISecurityPositionManager.SetAveragePrice ( decimal  avgPrice)

◆ Update()

bool ATAS.DataFeedsCore.ISecurityPositionManager.Update ( decimal?  volume = null,
decimal?  averagePrice = null,
decimal?  openedPnL = null,
decimal?  closedPnL = null,
decimal?  commission = null,
decimal?  openVolume = null,
RiskInfo risk = null 
)

◆ UpdateAveragePriceByTrades()

bool ATAS.DataFeedsCore.ISecurityPositionManager.UpdateAveragePriceByTrades ( )

◆ UpdateOpenPnL()

bool ATAS.DataFeedsCore.ISecurityPositionManager.UpdateOpenPnL ( Security  security,
MarketDataType  type,
decimal  price 
)

Property Documentation

◆ IsPositionInitialized

bool ATAS.DataFeedsCore.ISecurityPositionManager.IsPositionInitialized
get

◆ Position

Position ATAS.DataFeedsCore.ISecurityPositionManager.Position
get

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