Create Order command parameters map

OrderTypeOMOOROLCMCCRCLSELESL
OfferIDRRRRRRRRRRRR
AccountIDRRRRRRRRRRRR
BuySellRRRRR(1)R(1)R(1)R(1)RRR(1)R(1)
AmountRRRRR(2)(7)R(2)(7)R(2)(7)R(2)(7)R(3)R(3)R(4)R(4)
NetQuantityR(7)R(7)R(7)R(7)R(3)R(3)
TradeIDR(7)R(7)R(7)R(7)RR
RateRRRRRRR(5)R(5)
RateMinRR
RateMaxRR
TimeInForceOOOOOOOOOOOO
TrailStepOO
PegTypeR(5)R(5)
PegOffsetR(5)R(5)
CustomIDOOOOOOOOOOOO
PartiesOOOOOOOOOOOO
RateStopO(6)O(6)O(6)O(6)O(6)O(6)
PegOffsetStopO(6)O(6)O(6)O(6)O(6)O(6)
PegTypeStopO(6)O(6)O(6)O(6)O(6)O(6)
TrailStepStopOOOOOO
RateLimitO(6)O(6)O(6)O(6)O(6)O(6)
PegOffsetLimitO(6)O(6)O(6)O(6)O(6)O(6)
PegTypeLimitO(6)O(6)O(6)O(6)O(6)O(6)
Notes:

R - is for "required"

O - is for "optional"

(1) BuySell value for the closing orders must be opposite to the BuySell value of the position to be closed.

(2) Amount of the market close order must be equal or less than the Amount value of the trade to be closed.

(3) Either the Amount or NetQuantity equal to "y" or "Y" must be specified for an entry order.

(4) Amount of the stop or limit order must be equal to the Amount value of the trade to be closed.

(5) Either the Rate or a pair of PegType and PegOffset must be specified.

(6) Either the RateStop(RateLimit) or a pair of PegTypeStop and PegOffsetStop (PegTypeLimit and PegOffsetLimit) must be specified in order to have the Stop (Limit) attached.

(7) Either a pair of Amount and TradeID or NetQuantity equal to "y" or "Y" must be specified for a close order.