|
| | SecurityPositionManager (ILoggerSource logger, Position position) |
| |
| 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) |
| |
| 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) |
| |
◆ SecurityPositionManager()
| ATAS.DataFeedsCore.SecurityPositionManager.SecurityPositionManager |
( |
ILoggerSource |
logger, |
|
|
Position |
position |
|
) |
| |
◆ Clear()
| void ATAS.DataFeedsCore.SecurityPositionManager.Clear |
( |
| ) |
|
◆ GetIsChanged()
| bool ATAS.DataFeedsCore.SecurityPositionManager.GetIsChanged |
( |
| ) |
|
◆ GetIsNeedSubscribeLevel1()
| bool ATAS.DataFeedsCore.SecurityPositionManager.GetIsNeedSubscribeLevel1 |
( |
| ) |
|
◆ GetPnlMultiplier()
| virtual decimal ATAS.DataFeedsCore.SecurityPositionManager.GetPnlMultiplier |
( |
| ) |
|
|
protectedvirtual |
◆ Process() [1/2]
| bool ATAS.DataFeedsCore.SecurityPositionManager.Process |
( |
MyTrade |
trade | ) |
|
◆ Process() [2/2]
| bool ATAS.DataFeedsCore.SecurityPositionManager.Process |
( |
Order |
order | ) |
|
◆ SetAveragePrice()
| void ATAS.DataFeedsCore.SecurityPositionManager.SetAveragePrice |
( |
decimal |
avgPrice | ) |
|
◆ Update()
| bool ATAS.DataFeedsCore.SecurityPositionManager.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.SecurityPositionManager.UpdateAveragePriceByTrades |
( |
| ) |
|
◆ UpdateOpenPnL()
| bool ATAS.DataFeedsCore.SecurityPositionManager.UpdateOpenPnL |
( |
Security |
security, |
|
|
MarketDataType |
type, |
|
|
decimal |
price |
|
) |
| |
◆ UpdateUnrealizedPnl()
| virtual bool ATAS.DataFeedsCore.SecurityPositionManager.UpdateUnrealizedPnl |
( |
MarketDataType |
type, |
|
|
decimal |
price |
|
) |
| |
|
protectedvirtual |
◆ AllowSubscribeLevel1
| bool ATAS.DataFeedsCore.SecurityPositionManager.AllowSubscribeLevel1 |
|
getset |
◆ AveragePrice
| decimal ATAS.DataFeedsCore.SecurityPositionManager.AveragePrice |
|
getset |
◆ AveragePriceValueType
◆ CalculateAveragePrice
| bool ATAS.DataFeedsCore.SecurityPositionManager.CalculateAveragePrice |
|
getset |
◆ CalculateClosedPnL
| bool ATAS.DataFeedsCore.SecurityPositionManager.CalculateClosedPnL |
|
getset |
◆ CalculateOpenedPnL
| bool ATAS.DataFeedsCore.SecurityPositionManager.CalculateOpenedPnL |
|
getset |
◆ CalculateVolume
| bool ATAS.DataFeedsCore.SecurityPositionManager.CalculateVolume |
|
getset |
◆ IsPositionInitialized
| bool ATAS.DataFeedsCore.SecurityPositionManager.IsPositionInitialized |
|
get |
◆ Position
| Position ATAS.DataFeedsCore.SecurityPositionManager.Position |
|
get |
◆ Volume
| decimal ATAS.DataFeedsCore.SecurityPositionManager.Volume |
|
getset |
The documentation for this class was generated from the following file: