![]() |
MarketFactory C# API 3.0
|
Admin interface: group limit, optionally for a specific feed and market. More...
Public Member Functions | |
| RiskLimit (string group) | |
| RiskLimit (string group, int marketID, MFDecimal nop, MFDecimal dsl, MFDecimal position, MFDecimal pending, MFDecimal orderQty, MFDecimal throttle) | |
| RiskLimit (string group, int feedID, int marketID, MFDecimal nop, MFDecimal dsl, MFDecimal position, MFDecimal pending, MFDecimal orderQty, MFDecimal throttle) | |
| RiskLimit | setDsl (MFDecimal dsl) |
| RiskLimit | setFeedID (int feedID) |
| RiskLimit | setMarketID (int marketID) |
| RiskLimit | setNop (MFDecimal nop) |
| RiskLimit | setOrderQty (MFDecimal orderQty) |
| RiskLimit | setPending (MFDecimal pending) |
| RiskLimit | setPosition (MFDecimal position) |
| This is a MarketLimit. More... | |
| RiskLimit | setThrottle (MFDecimal throttle) |
| override string | ToString () |
| string | ToString (bool abridge) |
Public Attributes | |
| MFDecimal | dsl = MFDecimal.NA |
| int | feedID = FEED_ALL |
| string | group |
| int | marketID = MARKET_ALL |
| MFDecimal | nop = MFDecimal.NA |
| MFDecimal | orderQty = MFDecimal.NA |
| MFDecimal | pending = MFDecimal.NA |
| MFDecimal | position = MFDecimal.NA |
| This is a MarketLimit. More... | |
| MFDecimal | throttle = MFDecimal.NA |
Admin interface: group limit, optionally for a specific feed and market.
An admin may only send one limit bundle per group/feedID/marketID combination.
Amounts should be positive and provided in the preconfigured currency (typically USD). Throttle is specified as N trades per preconfigured interval (typically per second).
Notes about marketID and positionLimit (AKA marketLimit) convention: Individual marketIDs will typically only be used with marketLimit, but will work with other limits. If nopLimit is specified with a particular marketID, it is roughly equivalent to a marketLimit. If marketLimit is specified with MARKET_ALL, it's as if you sent that that limit for each individual market.
(MFDecimal.NDA: No limit. If all fields are NDA, delete limit entry.) (MFDecimal.NA: Use a preexisting limit (or set to most restrictive value, zero).)
| RiskLimit | ( | string | group | ) |
| RiskLimit | ( | string | group, |
| int | marketID, | ||
| MFDecimal | nop, | ||
| MFDecimal | dsl, | ||
| MFDecimal | position, | ||
| MFDecimal | pending, | ||
| MFDecimal | orderQty, | ||
| MFDecimal | throttle | ||
| ) |
| RiskLimit | ( | string | group, |
| int | feedID, | ||
| int | marketID, | ||
| MFDecimal | nop, | ||
| MFDecimal | dsl, | ||
| MFDecimal | position, | ||
| MFDecimal | pending, | ||
| MFDecimal | orderQty, | ||
| MFDecimal | throttle | ||
| ) |
| RiskLimit setFeedID | ( | int | feedID | ) |
| RiskLimit setMarketID | ( | int | marketID | ) |
| override string ToString | ( | ) |
| string ToString | ( | bool | abridge | ) |
| string group |
| int feedID = FEED_ALL |
| int marketID = MARKET_ALL |
| MFDecimal nop = MFDecimal.NA |
| MFDecimal dsl = MFDecimal.NA |
| MFDecimal position = MFDecimal.NA |
This is a MarketLimit.
Refer to class notes.
| MFDecimal pending = MFDecimal.NA |
| MFDecimal orderQty = MFDecimal.NA |
| MFDecimal throttle = MFDecimal.NA |