Gemini Crypto Exchange Logo
Gemini Clearing

Initiate a Clearing order

New Order Cross <S>

To submit a new Gemini Clearing order, send a New Order Cross <s> message with OrdType Limit.

Gemini will respond to a New Order Cross <s> with an Execution Report <8>. The Execution Report <8> will have OrderID <37> populated with the clearing_id which the counterparty will need to confirm the order.


Fields

TagNameReqDescription
Standard HeaderYMsgType = s
11ClOrdIdYUnique identifier of the cross order as assigned by the institution. Uniqueness must be guaranteed by the institution for the duration of the connection to the order entry channel.
38OrderQtyYDecimal quantity of quantity currency to buy or sell
40OrdTypeYOrder type.

Valid values:
2 = Limit
44PriceYDecimal price. Price is denominated in CCY1.
54SideYSide of the initiator of the order.

Valid values:
1 = Buy
2 = Sell
55SymbolYTicker symbol of the order.

See Supported Symbols for valid values.
60TransactTimeYTime of order creation (expressed in UTC).
126ExpireTimeYTime of order expiration (expressed in UTC). Can be up to 30 days from order initiation.
548CrossIDYUnique identifier for a cross order
549CrossTypeYType of cross being submitted.

Valid values:
1 = Cross trade which is either completely executed or not
550CrossPrioritizationYIndicates if one side or the other of a cross order should be prioritized.

Valid values:
0 = None
552NoSidesYNumber of side <54> repeating group instances

Valid values:
1 = One Side
583ClOrdLinkIDN*Also referred to as counterparty_id. A value that is assigned to a specific counterparty Gemini account. Can be accessed on the web interface under the GEMINI ID label. See workflow for more detail.
Standard TrailerY

Request

Code
RAW 8=FIX.4.4|9=204|35=s|34=2|49=TESTOE001|52=20190807-19:28:38.078|56=GEMINI|40=2|44=12000|55=BTCUSD|60=20190807-19:28:38.078|126=20190807-21:28:38.078|548=26990504|549=1|550=0|552=1|54=1|11=87749738|38=2.22222|10=023| HEADER 8 BeginString: FIX.4.4 9 BodyLength: 204 35 MsgType: NewOrderCross (s) 34 MsgSeqNum: 2 49 SenderCompID: TESTOE001 52 SendingTime: 20190807-19:28:38.078 56 TargetCompID: GEMINI BODY 40 OrdType: LIMIT (2) 44 Price: 12000 55 Symbol: BTCUSD 60 TransactTime: 20190807-19:28:38.078 126 ExpireTime: 20190807-21:28:38.078 548 CrossID: 26990504 549 CrossType: Cross trade which is either completely executed or not executed at all (1) 550 CrossPrioritization: No priority (0) 552 NoSides: One Side (1) 54 Side: BUY (1) 11 ClOrdID: 87749738 38 OrderQty: 2.22222 TRAILER 10 CheckSum: 023

Execution Report

Code
RAW 8=FIX.4.4|9=197|35=8|34=2|49=GEMINI|52=20190807-19:28:38.251|56=TESTOE001|6=12000|11=87749738|14=2.22222|17=1565206118250|37=2DZ4MPQM|39=0|44=12000|54=1|55=BTCUSD|60=20190807-19:28:38.250|150=0|151=2.22222|10=009| HEADER 8 BeginString: FIX.4.4 9 BodyLength: 197 35 MsgType: ExecutionReport (8) 34 MsgSeqNum: 2 49 SenderCompID: GEMINI 52 SendingTime: 20190807-19:28:38.251 56 TargetCompID: TESTOE001 BODY 6 AvgPx: 12000 11 ClOrdID: 87749738 14 CumQty: 2.22222 17 ExecID: 1565206118250 37 OrderID: 2DZ4MPQM 39 OrdStatus: NEW (0) 44 Price: 12000 54 Side: BUY (1) 55 Symbol: BTCUSD 60 TransactTime: 20190807-19:28:38.250 150 ExecType: NEW (0) 151 LeavesQty: 2.22222 TRAILER 10 CheckSum: 009
Last modified on