FIX API for OKX

Trade on OKX using Axon Trade FIX API

FIX API for trading and market data streaming. Can be integrated with existing O/EMS systems or used for building new solutions. Suitable for all trading activities, including HFT

What We Offer

Solution

We provide a rich set of FIX messages to manage orders (NewOrderSingle, OrderCancelRequest), receive updates on balances and positions changes, and subscribe to real-time normalized market data from OKX

NewOrderSingle

Request to place SELL LIMIT order of 50 ALGO/USDC at 0.4

OrderCancelRequest

Request to cancel previously open order

MarketDataRequest

Request to subscribe to real-time L2 updates + trades on BTC/USDC

MarketDataIncrementalRefresh

One book level is added, another — deleted

TagTag descriptionValueValue description
8
BeginString
FIX.4.4
9
BodyLength
163
35
MsgType
D ORDER SINGLE
49
SenderCompID
LATENCY
56
TargetCompID
AXON-ORD-TY8-1
34
MsgSeqNum
6
52
SendingTime
20250130-22:42:50.900
11
CIOrdID
108
1
Account
528
21
HandlInst
1 AUTOMATED EXECUTION ORDER PRIVATE
100
ExDestination
OKEX
55
Symbol
ALGO/USDT
460
Product
4 CURRENCY
54
Side
2 SELL
60
TransactTime
20250130-22:42:50.894
38
OrderQty
50
40
OrdType
2 LIMIT
44
Price
0.4
59
TimeInForce
1 GOOD TILL CANCEL
10
CheckSum
212

How it works

Downloads

Access our trading and market data raw FIX logs to gain hands-on experience with Axon Trade OEMS functionalities.

8=FIX.4.4|9=107|35=A|49=LATENCY|56=AXON-ORD-TY8-1|34=1|52=20250130-22:42:25.300|98=0|108=30|141=Y|553=*******|554=******|10=171|

8=FIX.4.4|9=82|35=A|49=AXON-ORD-TY8-1|56=LATENCY|34=1|52=20250130-22:42:25.864|98=0|108=30|141=Y|10=245|

8=FIX.4.4|9=88|35=g|49=LATENCY|56=AXON-ORD-TY8-1|34=2|52=20250130-22:42:25.984|335=1738276945983|263=1|10=122|

8=FIX.4.4|9=98|35=AF|49=LATENCY|56=AXON-ORD-TY8-1|34=3|52=20250130-22:42:26.003|584=2|585=8|453=1|448=528|452=11|10=220|

8=FIX.4.4|9=179|35=h|49=AXON-ORD-TY8-1|56=LATENCY|34=2|52=20250130-22:42:26.091|335=1738276945983|336=BYBIT|625=543|325=N|340=2|453=1|448=AXON ID|447=D|452=24|802=2|523=543|803=10|523=TY8|803=22|10=110|

8=FIX.4.4|9=178|35=h|49=AXON-ORD-TY8-1|56=LATENCY|34=3|52=20250130-22:42:26.091|335=1738276945983|336=OKEX|625=543|325=N|340=2|453=1|448=AXON ID|447=D|452=24|802=2|523=543|803=10|523=TY8|803=22|10=043|

8=FIX.4.4|9=133|35=8|49=AXON-ORD-TY8-1|56=LATENCY|34=4|52=20250130-22:42:26.109|37=N/A|11=N/A|584=2|911=0|912=Y|150=I|39=3|58=No active orders found|10=201|

8=FIX.4.4|9=171|35=AN|49=LATENCY|56=AXON-ORD-TY8-1|34=4|52=20250130-22:42:26.235|710=4|724=0|263=0|453=1|448=528|452=11|1=1|581=1|715=2025-01-30T22:42:26.233Z|60=2025-01-30T22:42:26.233Z|10=055|

8=FIX.4.4|9=132|35=AO|49=AXON-ORD-TY8-1|56=LATENCY|34=5|52=20250130-22:42:26.342|721=4|710=4|727=2|325=N|728=0|729=0|453=1|448=528|452=11|1=1|581=1|10=001|

8=FIX.4.4|9=240|35=AP|49=AXON-ORD-TY8-1|56=LATENCY|34=6|52=20250130-22:42:26.342|721=1047481|710=4|727=2|325=N|728=0|715=20250130-22:32:24.059|453=2|448=528|452=11|448=BYBIT|447=D|452=22|1=1|660=99|581=1|55=USDT|167=CRYPTOSPOT|702=1|703=ETR|705=0.02423465|10=183|

8=FIX.4.4|9=230|35=AP|49=AXON-ORD-TY8-1|56=LATENCY|34=7|52=20250130-22:42:26.342|721=1047487|710=4|727=2|325=N|728=0|715=20250130-22:32:24.059|453=2|448=528|452=11|448=BYBIT|447=D|452=22|1=1|660=99|581=1|55=ADA|167=CRYPTOSPOT|702=1|703=ETR|704=6|10=128|

8=FIX.4.4|9=171|35=AN|49=LATENCY|56=AXON-ORD-TY8-1|34=5|52=20250130-22:42:26.464|710=5|724=0|263=1|453=1|448=528|452=11|1=1|581=1|715=2025-01-30T22:42:26.464Z|60=2025-01-30T22:42:26.464Z|10=074|

8=FIX.4.4|9=132|35=AO|49=AXON-ORD-TY8-1|56=LATENCY|34=8|52=20250130-22:42:26.572|721=5|710=5|727=2|325=N|728=0|729=0|453=1|448=528|452=11|1=1|581=1|10=011|

Trading sample

Download raw FIX log illustrating basic conceptions of interaction with Axon Trade OEMS

check.svg

Get balances

check.svg

Place, replace, and cancel an order

8=FIX.4.4|9=113|35=A|49=DEVIATION-1|56=AXON-MD-TY8-1|34=1|52=20250130-21:27:08.257|98=0|108=30|141=Y|553=*****|554=*********|10=048|

8=FIX.4.4|9=85|35=A|49=AXON-MD-TY8-1|56=DEVIATION-1|34=1|52=20250130-21:27:08.586|98=0|108=30|141=Y|10=153|

8=FIX.4.4|9=67|35=0|49=DEVIATION-1|56=AXON-MD-TY8-1|34=2|52=20250130-21:27:38.259|10=067|

8=FIX.4.4|9=67|35=0|49=AXON-MD-TY8-1|56=DEVIATION-1|34=2|52=20250130-21:27:38.587|10=071|

8=FIX.4.4|9=163|35=V|49=DEVIATION-1|56=AXON-MD-TY8-1|34=3|52=20250130-21:27:55.773|262=1|263=1|264=0|265=1|267=3|269=0|269=1|269=2|146=2|55=BTC/USDC|207=OKEX|55=ETH/USDC|207=OKEX|10=237|

8=FIX.4.4|9=51314|35=W|49=AXON-MD-TY8-1|56=DEVIATION-1|34=3|52=20250130-21:27:55.989|262=1|55=BTC/USDC|207=OKEX|268=800|269=0|270=105087.9|271=0.05710245|272=20250130|273=21:27:55.341|269=0|270=105084.0|271=0.01140000|272=20250130|273=21:27:55.341|269=0|270=105082.4|271=0.00997314|272=20250130|273=21:27:55.341|269=0|270=105082.1|271=0.01884000|272=20250130|273=21:27:55.341|269=0|270=105082.0|271=0.01140000|272=20250130|273=21:27:55.341|269=0|270=105080.4|271=0.02000000|272=20250130|273=21:27:55.341|269=0|270=105078.3|271=0.02000000|272=20250130|273=21:27:55.341|269=0|270=105078.0|271=0.01140000|272=20250130|273=21:27:55.341|269=0|270=105077.4|271=0.03427144|272=20250130|273=21:27:55.341|269=0|270=105077.3|271=0.05060000|272=20250130|273=21:27:55.341|269=0|270=105076.5|271=0.00001501|272=20250130|273=21:27:55.341|269=0|270=105076.2|271=0.05000000|272=20250130|273=21:27:55.341|269=0|270=105076.0|271=0.01140000|272=20250130|273=21:27:55.341|269=0|270=105074.0|271=0.01140000|272=20250130|273=21:27:55.341|269=0|270=105072.1|271=0.08214495|272=20250130|273=21:27:55.341|269=0|270=105072.0|271=0.01140000|272=20250130|273=21:27:55.341|269=0|270=105070.9|271=0.01919945|272=20250130|273=21:27:55.341|269=0|270=105070.8|271=0.23639000|272=20250130|273=21:27:55.341|269=0|270=105070.0|271=0.01140000|272=20250130|273=21:27:55.341|269=0|270=105067.2|271=0.00997314|272=20250130|273=21:27:55.341|269=0|270=105067.1|271=0.04528938|272=20250130|273=21:27:55.341|269=0|270=105066.8|271=0.00929399|272=20250130|273=21:27:55.341|269=0|270=105066.2|271=0.09517804|272=20250130|273=21:27:55.341|269=0|270=105066.0|271=0.00001500|272=20250130|273=21:27:55.341|269=0|270=105064.8|271=0.00951000|272=20250130|273=21:27:55.341|269=0|270=105063.1|271=0.05060000|272=20250130|273=21:27:55.341|269=0|270=105059.4|271=0.10000000|272=20250130|273=21:27:55.341|269=0|270=105059.1|271=0.01921869|272=20250130|273=21:27:55.341|269=0|270=105058.2|271=0.01919945|272=20250130|273=21:27:55.341|269=0|270=105056.6|271=0.10941272|272=20250130|273=21:27:55.341|269=0|270=105056.5|271=0.25587000|272=20250130|273=21:27:55.341|269=0|270=105055.5|271=0.00001501|272=20250130|273=21:27:55.341|269=0|270=105054.2|271=0.00882407|272=20250130|273=21:27:55.341|269=0|270=105051.4

Market data sample

Download raw FIX log illustrating standard market data processing workflow

check.svg

Subscribe on multiple symbols

check.svg

Receive books snapshots

check.svg

Receive incremental books updates

How you benefit

Advantages

Experience peak execution performance with Axon Trade's solutions. Our robust hardware, paired with expertly crafted software, is precisely calibrated to minimize latency, delivering lightning-fast order execution.

/assets/card-icon/check-square.svg

Execution optimization

Powerful hardware with a software layer, optimized to "shave" extra milliseconds

/assets/card-icon/time.svg

Low software added latency

Average software added latency is 25-35 microseconds

/assets/card-icon/location-check.svg

Servers` location

Our servers are located close to the exchange, so you can save even more time.

/assets/card-icon/arrows-pointing-in.svg

X-connection and Colocations

We provide our clients with different deployment options

/assets/card-icon/swatchbook.svg

Multiple exchanges

By now we have 30+ popular exchanges connected to our services

/assets/card-icon/laptop.svg

Demo environment

Test-drive our services before making a decision

What infractructure we use

Our data centers

Axon Trade servers are located in Equinix data centers in New Jersey (NY4), London (LD4), and Tokyo (TY8), and we offer cross-connection in all locations. You also can co-locate in our NY4 cabinet where we provide fully managed services.

NY4

/assets/card-images/datacenter-ny4.webp

LD4

/assets/card-images/datacenter-ld4.webp

TY8

/assets/card-images/datacenter-ty8.webp

Related resources

Additional info

Check FIX API documentation and code samples, and find out more about how you can benefit from trading on OKX using Axon Trade services in our articles

FAQ`s

Frequently Asked Questions

What is Axon Trade?
plus-circle

Axon Trade is an institutional-grade OEMS for digital asset trading. We provide a unique combination of services such as FIX API for digital asset trading, real-time normalized market data feeds, low-latency execution services, and a secure environment.

What is the OEMS for crypto trading?
plus-circle
Do you serve individual retail traders or work only with institutional clients?
plus-circle
How does FIX API help with trading?
plus-circle
How does integration work?
plus-circle
What are the bandwidth requirements?
plus-circle
How can I connect to your services?
plus-circle
Do you have demo environment?
plus-circle