FIX Market Data
Use the FIX Market Data session to receive market data from the FIX API
Last updated
Use the FIX Market Data session to receive market data from the FIX API
Last updated
For assistance or information regarding implementation of the FIX API, please contact support@sfox.com
sFOX uses FIX 4.4
Before logging onto a FIX session, you must establish a secure connection to the FIX gateway
Environment | URL | SSL Required |
---|---|---|
If your FIX implementation does not support establishing a native TCP SSL connection with SNI support, set up a local proxy such as stunnel to establish a secure connection to the FIX gateway. Refer to our QuickFIX Integration Guide for details and examples
SenderCompID
s must be provided by sFOX. Contact support@sfox.com to be provided with a SenderCompID
for your session.
Tag | Field | Description |
---|---|---|
Only one session may exist per SenderCompId. Attempting to logon using a SenderCompId of an active session will result in an error.
QuickFIX: If you are implementing the FIX protocol using QuickFIX please refer to our QuickFIX Integration Guide
Subscribes the current session to Market Data
Returns a Security List - y response containing supported symbols
The response containing the list of symbols from a Security List Request - x request
Tag | Name | Required | Description |
---|---|---|---|
Tag | Name | Required | Description |
---|---|---|---|
Tag | Name | Description |
---|---|---|
Tag | Name | Required | Description |
---|---|---|---|
Tag | Name | Description |
---|---|---|
Production
fix-md.sfox.com:5001
Y
Sandbox
fix-md.staging.sfox.com:5001
Contact support to access the Sandbox environment
Y
8
BeginString
Must be FIX.4.4
108
HeartBtInt
Must be <= 30
(seconds)
49
SenderCompID
Value provided by sFOX. Must be unique per session
56
TargetCompID
Must be SFOX
StartDay
Sunday
EndDay
Sunday
StartTime
00:00:01
EndTime
00:00:00
TimeZone
ETC
/ UTC
554
Password
Y
Your API Key
262
MDReqID
Y
Market data request ID, included in all MarketDataSnapshotFullRefresh updates
263
SubscriptionRequestType
Y
1
: Snapshot Plus Updates
2
: Disable Previous Snapshot Plus Updates
20030
FeedType
Y
Which marketdata feed:
net
: Net Price (default)
smart
: Smart
264
MarketDepth
N
Depth of the orderbook (per-side). The orderbook may be depth limited to a smaller number than the requested depth.
267
NoMDEntryType
N
Number of MDEntryTypes requested. If empty the default is to subscribe to the orderbook.
-> 269
MDEntryType
N
0
: Bid
1
: Offer
2
: Trade
Note: 0
and/or 1
will give both sides of the book.
146
NoRelatedSym
Y
Number of symbols in this request
-> 55
Symbol
Y
Pair to subscribe to, basequote
format.
262
MDReqID
Original MDReqID that generated this refresh
55
Symbol
Symbol/currency pair of the market data entry
106
Issuer
The full feed recipient, e.g. orderbook.net.btcusd
268
NoMDEntries
Number of market data entries in this message
-> 269
MDEntryType
0
: Bid
1
: Offer
2
: Trade
-> 270
MDEntryPx
Price of the market data entry
-> 271
MDEntrySize
Size/Quantity of the market data entry
-> 273
MDEntryTime
Only for trades
-> 37
OrderID
Only for trades
-> 275
MDMkt
Market of the entry, not applicable in the compact/enterprise feed
-> 2446
AggressorSide
1
: Buy
2
: Sell
320
SecurityReqID
Y
559
SecurityListRequestType
Y
4
: All Securities
320
SecurityReqID
SecurityReqID from the SecurityListRequest
322
SecurityResponseID
Unique identifier of the response
560
SecurityRequestResult
0
: Valid Request
146
NoRelatedSym
Specifies the number of returned symbols
-> 55
Symbol
Underlying asset symbol in basequote
format. i.e. btcusd