API Reference

SecurityList <y>

Tag#

Field Name

Required

Comments

Standard Header

Yes

MsgType <35> = y

320

SecurityReqID

Yes

ID from the corresponding Security Definition Request

322

SecurityResponseID

Yes

Unique response ID

560

SecurityRequestResult

Yes

0 indicates a successful response. This is the only possible value in HashKey API

393

TotNoRelatedSym

No

Total number of securities to be returned for this request or number of instruments that matched initial search criteria.

146

NoRelatedSym

No

Specifies the number of repeating symbols specified.

55

Symbol

Yes

Trading symbol of the security
E.g. BTCUSD

5001

BaseAsset

Yes

Base asset of security (e.g., BTC)

5002

QuoteAsset

Yes

Quote asset of security (e.g., USD)

5003

BaseAssetPrecision

Yes

Integer value that represents a number of decimal points in prices
E.g. 0.00001

5004

QuoteAssetPrecision

Yes

Integer value that represents a number of decimal points in size
E.g. 0.00000001

6001

RetailAllowed

Yes

Retail trading allowed
Valid values:
Y or N

6002

PiAllowed

Yes

PI trading allowed
Valid values:
Y or N

6003

CorporateAllowed

Yes

Corporate trading allowed
Valid values:
Y or N

6004

OmnibusAllowed

Yes

Omnibus trading allowed
Valid values:
Y or N

7001

LimitOrderMinQty

Yes

Minimum quantity required for Limit order
E.g. 0.0003

7002

LimitOrderMaxQty

Yes

Maximum quantity required for Limit order
E.g. 16

7003

LimitOrderMinAmount

Yes

Minimum cash notional required for Limit order
E.g. 10

7004

LimitOrderMaxAmount

Yes

Maximum cash notional required for Limit order
E.g. 400000

8001

MarketOrderMinQty

Yes

Minimum quantity required for Market order
E.g. 0.0003

8002

MarketOrderMaxQty

Yes

Maximum quantity required for Market order
E.g. 8

8003

MarketOrderMinAmount

Yes

Minimum cash notional required for Market order
E.g. 10

8004

MarketOrderMaxAmount

Yes

Minimum cash notional required for Market order
E.g. 200000

9001

TickSize

Yes

Smallest increment of price of a trading pair
E.g. 0.01

9002

StepSize

Yes

Smallest increment of by which the quantity of an order can change
E.g. 0.00001

9003

buyPriceUpRate

Yes

Upper bound of the current last traded price
E.g. 0.20

9004

sellPriceDownRate

Yes

Lower bound of the current last traded price
E.g. 0.20

Standard trailer

RAW
       8=FIX.4.4|9=722|35=y|34=53|49=TradingGateway|52=20240609-02:19:39.841|56=JOSEPH|146=3|55=ETH-HKD|5001=ETH|5002=HKD|5003=0.0001|5004=0.000001|6001=Y|6002=Y|6003=Y|6004=Y|9001=0.01|7001=0.005|7002=122|8001=0.005|8002=61|9002=0.0001|7003=80|7004=1600000|8003=80|8004=800000|9003=0.2|9004=0.2|55=BTC-HKD|5001=BTC|5002=HKD|5003=0.00001|5004=0.00001|6001=Y|6002=Y|6003=Y|6004=Y|9001=1|7001=0.0003|7002=8|8001=0.0003|8002=4|9002=0.00001|7003=80|7004=1600000|8003=80|8004=800000|9003=0.2|9004=0.2|55=USDT-HKD|5001=USDT|5002=HKD|5003=0.001|5004=0.000001|6001=N|6002=Y|6003=Y|6004=Y|9001=0.001|7001=10|7002=200000|8001=10|8002=100000|9002=0.001|7003=80|7004=1600000|8003=80|8004=800000|9003=0.2|9004=0.2|320=123|322=1520707038731055461|393=3|560=0|10=083|

HEADER
       8                          BeginString: FIX 4.4
       9                           BodyLength: 722
      35                              MsgType: y (Security List)
      49                         SenderCompID: TradingGateway
      56                         TargetCompID: JOSEPH
      34                            MsgSeqNum: 53
      52                          SendingTime: 20240609-02:19:39.841

BODY
     146                         NoRelatedSym: 3

     55                                Symbol: ETH-HKD
    5001                            BaseAsset: ETH
    5002                           QuoteAsset: HKD
    5003                   BaseAssetPrecision: 0.0001
    5004                  QuoteAssetPrecision: 0.000001
    6001                        RetailAllowed: Y
    6002                            PiAllowed: Y
    6003                     CorporateAllowed: Y
    6004                       OmnibusAllowed: Y
    9001                             TickSize: 0.01
    7001                     LimitOrderMinQty: 0.005
    7002                     LimitOrderMaxQty: 122
    8001                    MarketOrderMinQty: 0.005
    8002                    MarketOrderMaxQty: 61
    9002                             StepSize: 0.0001
    7003                  LimitOrderMinAmount: 80
    7004                  LimitOrderMaxAmount: 1600000
    8003                 MarketOrderMinAmount: 80
    8004                 MarketOrderMaxAmount: 800000
    9003                       buyPriceUpRate: 0.2
    9004                    sellPriceDownRate: 0.2

     55                                Symbol: BTC-HKD
    5001                            BaseAsset: BTC
    5002                           QuoteAsset: HKD
    5003                   BaseAssetPrecision: 0.00001
    5004                  QuoteAssetPrecision: 0.00001
    6001                        RetailAllowed: Y
    6002                            PiAllowed: Y
    6003                     CorporateAllowed: Y
    6004                       OmnibusAllowed: Y
    9001                             TickSize: 1
    7001                     LimitOrderMinQty: 0.0003
    7002                     LimitOrderMaxQty: 8
    8001                    MarketOrderMinQty: 0.0003
    8002                    MarketOrderMaxQty: 4
    9002                             StepSize: 0.00001
    7003                  LimitOrderMinAmount: 80
    7004                  LimitOrderMaxAmount: 1600000
    8003                 MarketOrderMinAmount: 80
    8004                 MarketOrderMaxAmount: 800000
    9003                       buyPriceUpRate: 0.2
    9004                    sellPriceDownRate: 0.2

     55                                Symbol: USDT-HKD
    5001                            BaseAsset: USDT
    5002                           QuoteAsset: HKD
    5003                   BaseAssetPrecision: 0.001
    5004                  QuoteAssetPrecision: 0.000001
    6001                        RetailAllowed: N
    6002                            PiAllowed: Y
    6003                     CorporateAllowed: Y
    6004                       OmnibusAllowed: Y
    9001                             TickSize: 0.001
    7001                     LimitOrderMinQty: 10
    7002                     LimitOrderMaxQty: 200000
    8001                    MarketOrderMinQty: 10
    8002                    MarketOrderMaxQty: 100000
    9002                             StepSize: 0.001
    7003                  LimitOrderMinAmount: 80
    7004                  LimitOrderMaxAmount: 1600000
    8003                 MarketOrderMinAmount: 80
    8004                 MarketOrderMaxAmount: 800000
    9003                       buyPriceUpRate: 0.2
    9004                    sellPriceDownRate: 0.2

     320                        SecurityReqID: 123
     322                       SecurityListID: 1520707038731055461
     393                      TotNoRelatedSym: 3
     560                SecurityRequestResult: 0

TRAILER
      10                             CheckSum: 083