Delegate PositionPriceChangedHandler
- Namespace
- ATAS.DataFeedsCore
- Assembly
- ATAS.DataFeedsCore.dll
Handles a best price of a security that a connector received without publishing it as market data, so the trading core can value the positions in the security with it (ATAS.DataFeedsCore.IPositionPriceSource).
Not in ATAS 8.0.15 yet: available from the next version.
public delegate void PositionPriceChangedHandler(IDataFeedConnector connector, Security security, MarketDataType type, decimal price)
Parameters
connectorIDataFeedConnectorThe connector that received the price.
securitySecurityThe security of the price.
typeMarketDataTypeWhich best price it is: the bid or the ask.
pricedecimalThe price.
- Extension Methods
Constructors
PositionPriceChangedHandler(object, nint)
public PositionPriceChangedHandler(object @object, nint method)
Parameters
objectobjectmethodnint
Methods
BeginInvoke(IDataFeedConnector, Security, MarketDataType, decimal, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(IDataFeedConnector connector, Security security, MarketDataType type, decimal price, AsyncCallback callback, object @object)
Parameters
connectorIDataFeedConnectorsecuritySecuritytypeMarketDataTypepricedecimalcallbackAsyncCallbackobjectobject
Returns
- IAsyncResult
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(IDataFeedConnector, Security, MarketDataType, decimal)
public virtual void Invoke(IDataFeedConnector connector, Security security, MarketDataType type, decimal price)
Parameters
connectorIDataFeedConnectorsecuritySecuritytypeMarketDataTypepricedecimal