Skip to main content

Query Tradable Instrument

Interface Description

  • Function description: Query the information of a traded symbol.

  • URL: /trade/instrument/tradable/list

  • Method: GET

  • Rate limit: The calling frequency of each App ID is limited to 10 times in 30 seconds.

Request Parameters

ParameterTypeRequired fieldsDescriptionExample value
account_idStringYesAccount IDac133fsde

Response Parameter

ParameterTypeDescriptionExample value
instrumentsInstrumentsTradeable Instrument List

Instruments:

ParameterTypeDescriptionExample value
symbolStringCRYPTO codeBTCUSD
instrument_idStringInstrument ID950160802
instrument_typeStringTickerTypeCRYPTO
trade_policyStringTrading Policies: referring to TradePolicy in the data dictionaryALL
nameStringsymbol nameBitcoin
min_trade_amtStringmin trade amount
max_trade_amtStringmax trade amount
min_trade_qtyStringmin trade quantity
max_trade_qtyStringmax trade quantity
price_stepsStringprice steps
lot_sizeStringlot size
currencyStringcurrency

Request Example

from webullpaysdktrade.api import API
from webullpaysdkcore.client import ApiClient
from webullpaysdkcore.common.region import Region

your_app_key = "<your_app_key>"
your_app_secret = "<your_app_secret>"
account_id = "account_id"

api_client = ApiClient(your_app_key, your_app_secret, Region.US.value)
api = API(api_client)
response = api.trade_instrument.get_tradable_instruments(account_id)
if response.status_code == 200:
trade_instrument_detail = response.json()
print(trade_instrument_detail)

Response Example

{
"instruments": [
{
"name": "Bitcoin",
"min_trade_amt": "1.0000000000",
"max_trade_amt": "100000.0000000000",
"min_trade_qty": "0.0000000100",
"max_trade_qty": "10000000000.0000000000",
"price_steps": "0.0100000000",
"lot_size": "0.0000000100",
"trade_policy": "ALL",
"currency": "USD",
"symbol": "BTCUSD",
"instrument_id": "950160802",
"instrument_type": "CRYPTO"
},
{
"name": "Ethereum",
"min_trade_amt": "1.0000000000",
"max_trade_amt": "100000.0000000000",
"min_trade_qty": "0.0000000100",
"max_trade_qty": "10000000000.0000000000",
"price_steps": "0.0100000000",
"lot_size": "0.0000000100",
"trade_policy": "ALL",
"currency": "USD",
"symbol": "ETHUSD",
"instrument_id": "950160804",
"instrument_type": "CRYPTO"
}
]
}

Exception Example

{
"error_code": "INVALID_TOKEN",
"message": "401 UNAUTHORIZED \"app_id and account_id not related\""
}