Skip to content

Instantly share code, notes, and snippets.

@normanlmfung
Created September 21, 2021 04:43
Show Gist options
  • Save normanlmfung/e83ba4e492286cdbedd777d28b37fe70 to your computer and use it in GitHub Desktop.
Save normanlmfung/e83ba4e492286cdbedd777d28b37fe70 to your computer and use it in GitHub Desktop.
Binance ADAUSD_211231 contract specification
{
‘percentage’: True,
‘feeSide’: ‘get’,
‘tierBased’: False,
‘taker’: 0.0005,
‘maker’: 0.0001,
‘precision’: {
‘base’: 8,
‘quote’: 8,
‘amount’: 0,
‘price’: 5
}, ‘
limits’: {
‘amount’: {‘min’: 1.0, ‘max’: 1000000.0},
‘price’: {‘min’: 0.017, ‘max’: 205.0},
‘cost’: {‘min’: None, ‘max’: None},
‘market’: {‘min’: 1.0, ‘max’: 5000.0}}, ‘
id’: ‘ADAUSD_211231’,
‘lowercaseId’: ‘adausd_211231’,
‘symbol’: ‘ADAUSD_211231’,
‘base’: ‘ADA’,
‘quote’: ‘USD’,
‘baseId’: ‘ADA’,
‘quoteId’: ‘USD’,
‘info’: {
‘symbol’: ‘ADAUSD_211231’,
‘pair’: ‘ADAUSD’,
‘contractType’: ‘NEXT_QUARTER’,
‘deliveryDate’: ‘1640937600000’,
‘onboardDate’: ‘1624608000000’,
‘contractStatus’: ‘TRADING’,
‘contractSize’: ‘10’,
‘marginAsset’: ‘ADA’,
‘maintMarginPercent’: ‘2.5000’,
‘requiredMarginPercent’: ‘5.0000’,
‘baseAsset’: ‘ADA’,
‘quoteAsset’: ‘USD’,
‘pricePrecision’: ‘5’,
‘quantityPrecision’: ‘0’,
‘baseAssetPrecision’: ‘8’,
‘quotePrecision’: ‘8’,
‘equalQtyPrecision’: ‘4’,
‘maxMoveOrderLimit’: ‘10000’,
‘triggerProtect’: ‘0.0500’,
‘underlyingType’: ‘COIN’,
‘underlyingSubType’: [],
‘filters’: [
{‘minPrice’: ‘0.01700’, ‘maxPrice’: ‘205’, ‘filterType’: ‘PRICE_FILTER’, ‘tickSize’: ‘0.00001’}, {‘stepSize’: ‘1’, ‘filterType’: ‘LOT_SIZE’, ‘maxQty’: ‘1000000’, ‘minQty’: ‘1’}, {‘stepSize’: ‘1’, ‘filterType’: ‘MARKET_LOT_SIZE’, ‘maxQty’: ‘5000’, ‘minQty’: ‘1’}, {‘limit’: ‘200’, ‘filterType’: ‘MAX_NUM_ORDERS’}, {‘limit’: ‘100’, ‘filterType’: ‘MAX_NUM_ALGO_ORDERS’}, {‘multiplierDown’: ‘0.9500’, ‘multiplierUp’: ‘1.0500’, ‘multiplierDecimal’: ‘4’, ‘filterType’: ‘PERCENT_PRICE’}
],
‘orderTypes’: [‘LIMIT’, ‘MARKET’, ‘STOP’, ‘STOP_MARKET’, ‘TAKE_PROFIT’, ‘TAKE_PROFIT_MARKET’, ‘TRAILING_STOP_MARKET’],
‘timeInForce’: [‘GTC’, ‘IOC’, ‘FOK’, ‘GTX’],
‘liquidationFee’: ‘0.010000’,
‘marketTakeBound’: ‘0.05’
},
‘spot’: False,
‘type’: ‘delivery’,
‘margin’: False,
‘future’: False, ‘delivery’: True,
‘linear’: False,
‘inverse’: True,
‘expiry’: 1640937600000,
‘expiryDatetime’: ‘2021–12–31T08:00:00.000Z’,
‘active’: True,
‘contractSize’: ‘10’
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment