ExternalAdapterBaseUpdatePosition Method |
Update position.
Namespace: ArthaChitra.Model.ConnectionAssembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.6.0
Syntaxprotected void UpdatePosition(
Account account,
Instrument instrument,
ProductType productType,
decimal quantity,
double averageCost,
double realizedPnL
)
Parameters
- account Account
- Account
- instrument Instrument
- Instrument
- productType ProductType
- ProductType
- quantity Decimal
- Position quantity
- averageCost Double
- Average price
- realizedPnL Double
- Realized PnL
See Also