![]() |
MarketFactory C# API 3.0
|
Admin interface: Use this if interested in market position rather than RiskUsage's net open position. More...
Public Member Functions | |
| RiskMarketPosition (string group, int marketID, MFDecimal position, long syncTime) | |
| MFDecimal | getPositionPotential () |
| MFDecimal | getPositionRealized () |
| RiskUsage | setFeedID (int feedID) |
| RiskUsage | setSettlDate (long settlDate) |
| RiskUsage | setSyncTime (long syncTime) |
| override string | ToString () |
Public Attributes | |
| MFDecimal | boughtBase |
| MFDecimal | boughtCounter |
| int | feedID = FEED_NULL |
| string | group |
| int | marketID |
| MFDecimal | pendingBoughtBase = MFDecimal.NA |
| MFDecimal | pendingSoldBase = MFDecimal.NA |
| long | settlDate = SETTL_DATE_CASH |
| MFDecimal | soldBase |
| MFDecimal | soldCounter |
| long | syncTime = MFUtil.now() |
Protected Member Functions | |
| RiskMarketPosition (string group, int marketID, MFDecimal boughtBase, MFDecimal soldBase) | |
Admin interface: Use this if interested in market position rather than RiskUsage's net open position.
The amount is in units of base currency (X in X/Y) and should be negative when short. Note: feedID and settlDate are not used by default but may be set if desired.
|
protected |
| RiskMarketPosition | ( | string | group, |
| int | marketID, | ||
| MFDecimal | position, | ||
| long | syncTime | ||
| ) |
| MFDecimal getPositionRealized | ( | ) |
| MFDecimal getPositionPotential | ( | ) |
| override string ToString | ( | ) |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |