Created
July 23, 2020 00:14
-
-
Save uneasyguy/1904b222d3e2a211810686d999428503 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import abort, make_response, jsonify | |
from decimal import Decimal | |
import random | |
import string | |
from time import time | |
from operator import itemgetter | |
import hashlib | |
import hmac | |
import json | |
prices = {'ETHBTC':0.02595300, 'WANETH':0.00109700, 'WANUSDT':0.25999999, 'BNBUSDT':17.87739944, 'BTTTRX':0.02243000, 'XMRBTC':0.00752700, 'WABIBTC':0.00001364, 'WABIETH':0.00040308, 'WAVESBTC':0.00016090, 'BTTUSDT':0.00038970, 'DASHBNB':3.89800000, 'LTCBTC':0.00461600, 'BTCUSDT':9150.45996094, 'XRPUSDT':0.19705001, 'EOSUSDT':2.57170010, 'TRXBTC':0.00000190, 'QKCBTC':0.00000086, 'ENJETH':0.00084411, 'MANAETH':0.00017599, 'LRCBTC':0.00001417, 'WANBTC':0.00002842, 'FUNBTC':0.00000040, 'EOSBTC':0.00028110, 'DASHBTC':0.00761800, 'XRPBTC':0.00002154, 'ENJBTC':0.00002188, 'MANABTC':0.00000458, 'RENBTC':0.00001881, 'LTCUSDT':42.24000168, 'ETHUSDT':237.47999573, 'IOTABTC':0.00002764, 'TRXUSDT':0.01732000, 'BTTBNB':0.00002180, 'NEOBTC':0.00114900, 'ELFBTC':0.00001137, 'LINKBTC':0.00086246, 'REPBTC':0.00212500, 'REPETH':0.08168000, 'XLMUSDT':0.09895000, 'ATOMBTC':0.00044870, 'DLTBTC':0.00000444, 'BCHABCBTC':0.02933000, 'BNBETH':0.07521900, 'XEMBTC':0.00000547, 'MTLBTC':0.00003735, 'ARNBTC':0.00000761, 'ONTBTC':0.00008060, 'CELRBTC':0.00000059, 'ZECBTC':0.00629100, 'XEMETH':0.00021157, 'DOGEBTC':0.00000036, 'ENJUSDT':0.20008001, 'WINTRX':0.00437000, 'DCRBTC':0.00168900, 'BNBBTC':0.00195290, 'EDOBTC':0.00005609, 'CVCBTC':0.00000340, 'LENDETH':0.00149345, 'MATICBTC':0.00000241, 'XLMBTC':0.00001082, 'PERLBNB':0.00163100, 'PERLUSDT':0.02908000, 'CHZBTC':0.00000132, 'ADABTC':0.00001329, 'TRXTUSD':0.01730000, 'ETCETH':0.02566500, 'ETCUSDT':6.10230017, 'RVNBTC':0.00000221, 'ATOMUSDT':4.11000013, 'ATOMUSDC':4.11299992, 'ALGOBTC':0.00004128, 'PAXUSDT':1.00000000, 'BTCPAX':9157.16015625, 'USDCUSDT':1.00010002, 'RDNBTC':0.00002786, 'IOSTBTC':0.00000067, 'CELRBNB':0.00030110, 'CVCUSDT':0.03115000, 'DOCKBTC':0.00000144, 'DOCKETH':0.00003283, 'XMRUSDT':68.87000275, 'WTCBTC':0.00005080, 'QTUMUSDT':2.28600001, 'TRXBNB':0.00096900, 'RCNETH':0.00037604, 'SNGLSBTC':0.00000112, 'ONGBTC':0.00002024, 'BRDBTC':0.00001399, 'BRDETH':0.00053840, 'LRCETH':0.00054869, 'HOTBNB':0.00004001, 'PERLBTC':0.00000318, 'NASBTC':0.00005160, 'NASETH':0.00198600, 'NASBNB':0.02337000, 'LINKETH':0.03323400, 'ADAUSDT':0.12163000, 'ADATUSD':0.12200000, 'USDCTUSD':1.00000000, 'ADAUSDC':0.12165000, 'ADAETH':0.00051258, 'VIBEBTC':0.00000158, 'WINUSDC':0.00007600, 'CDTBTC':0.00000078, 'QSPBTC':0.00000299, 'ZENETH':0.03450000, 'LOOMBTC':0.00000273, 'LTCBNB':2.36100006, 'ZILBTC':0.00000194, 'ZILBNB':0.00098800, 'WINBNB':0.00000424, 'BTTUSDC':0.00039090, 'ENGBTC':0.00003425, 'RENBNB':0.00458500, 'LINKUSDT':7.89930010, 'BCPTBTC':0.00000267, 'APPCBTC':0.00000451, 'APPCETH':0.00014600, 'BQXBTC':0.00000830, 'INSBTC':0.00001813, 'ETHTUSD':237.72999573, 'BTCTUSD':9148.42968750, 'TRXXRP':0.08794000, 'BATBTC':0.00002950, 'DUSKBTC':0.00000596, 'XVGBTC':0.00000063, 'XVGETH':0.00002463, 'FETUSDT':0.05772000, 'CHZUSDT':0.01201300, 'TFUELUSDT':0.00832200, 'ALGOUSDT':0.37709999, 'NANOBNB':0.05589000, 'ARNETH':0.00029362, 'TRXUSDC':0.01732000, 'SKYETH':0.00222000, 'ZRXBTC':0.00004504, 'TNBETH':0.00000752, 'LOOMETH':0.00010524, 'TRXETH':0.00007290, 'NEOUSDT':10.52499962, 'ZILUSDT':0.01772000, 'QKCETH':0.00003314, 'GTOBTC':0.00000093, 'DUSKUSDT':0.05430000, 'GASBTC':0.00018800, 'TNTBTC':0.00000380, 'BCDETH':0.00251000, 'KNCBTC':0.00018717, 'KNCETH':0.00719430, 'WINUSDT':0.00007580, 'BCHABCUSDT':220.08000183, 'MTHBTC':0.00000092, 'BTGBTC':0.00096300, 'NEOETH':0.04436600, 'DASHETH':0.29306999, 'IOSTETH':0.00002600, 'STORJETH':0.00073570, 'NULSBTC':0.00005126, 'ZECETH':0.24207000, 'EDOETH':0.00226600, 'NCASHBTC':0.00000005, 'QTUMETH':0.00960900, 'QTUMBTC':0.00025000, 'POEBTC':0.00000023, 'XZCETH':0.02281300, 'FTMBTC':0.00000172, 'FTMUSDT':0.01569000, 'HCBTC':0.00014060, 'OMGETH':0.00667600, 'STORJBTC':0.00001908, 'EOSETH':0.01082800, 'SNTBTC':0.00000280, 'EOSBNB':0.14399999, 'EOSUSDC':2.57319999, 'BRDBNB':0.00715000, 'NPXSETH':0.00000084, 'VETUSDT':0.01675200, 'MTHETH':0.00004135, 'THETAETH':0.00100122, 'XRPETH':0.00083030, 'ATOMBNB':0.23000000, 'POEETH':0.00000664, 'WINBTC':0.00000001, 'LTCETH':0.17799000, 'ETCBNB':0.34220001, 'FUNETH':0.00001525, 'BTGETH':0.05274500, 'BLZBTC':0.00000626, 'BLZETH':0.00024200, 'ERDBTC':0.00000156, 'IOSTUSDT':0.00617400, 'CNDBTC':0.00000083, 'BTCUSDC':9148.91992188, 'TUSDUSDT':1.00010002, 'MCOETH':0.01744000, 'MCOBTC':0.00045180, 'IOTXETH':0.00002730, 'IOTAETH':0.00106559, 'NEOBNB':0.58899999, 'QLCBTC':0.00000272, 'HOTUSDT':0.00071420, 'VIBEETH':0.00005720, 'NEBLBTC':0.00006348, 'LTCTUSD':42.13999939, 'LTCUSDC':42.18000031, 'POABTC':0.00000157, 'POWRBTC':0.00001091, 'DUSKBNB':0.00118000, 'LSKBTC':0.00013370, 'LSKETH':0.00515800, 'KMDBTC':0.00007720, 'TFUELBTC':0.00000090, 'MFTBTC':0.00000008, 'MFTETH':0.00001077, 'OSTETH':0.00004520, 'OSTBNB':0.00052500, 'MFTUSDT':0.00254800, 'ICXBTC':0.00004462, 'QSPETH':0.00011500, 'ENGETH':0.00132330, 'QLCETH':0.00010408, 'WAVESUSDT':1.47060001, 'WAVESETH':0.00618700, 'NPXSUSDT':0.00020000, 'TOMOUSDT':0.96350002, 'ATOMTUSD':2.59800005, 'ELFETH':0.00043782, 'GXSBTC':0.00005637, 'VIBBTC':0.00000182, 'VIBETH':0.00007063, 'STEEMBTC':0.00002255, 'BTTPAX':0.00038870, 'COCOSBTC':0.00000003, 'AGIBNB':0.00077200, 'VETBTC':0.00000183, 'ETCBTC':0.00066710, 'DLTETH':0.00016807, 'BATUSDT':0.26920000, 'NAVBTC':0.00001360, 'CELRUSDT':0.00540000, 'TNBBTC':0.00000028, 'MITHBTC':0.00000092, 'TRXPAX':0.01731000, 'COCOSUSDT':0.00036200, 'CHZBNB':0.00066570, 'OSTBTC':0.00000117, 'WTCETH':0.00196300, 'GXSETH':0.00218100, 'FUELBTC':0.00000026, 'ATOMPAX':3.17799997, 'NANOBTC':0.00011190, 'XZCBTC':0.00058870, 'ZENBTC':0.00089690, 'INSETH':0.00050100, 'SCBTC':0.00000037, 'AMBBTC':0.00000154, 'HOTETH':0.00000301, 'POLYBTC':0.00000462, 'AIONBTC':0.00001365, 'KEYBTC':0.00000013, 'FETBTC':0.00000634, 'DNTETH':0.00002801, 'DENTUSDT':0.00020730, 'NCASHETH':0.00000147, 'NULSETH':0.00197381, 'ONTUSDT':0.73839998, 'REQBTC':0.00000493, 'MCOBNB':0.26837000, 'DASHUSDT':69.69999695, 'DOCKUSDT':0.01319500, 'BTTTUSD':0.00038930, 'ERDUSDT':0.01433000, 'XRPBNB':0.01102000, 'ANKRBTC':0.00000070, 'ZECUSDT':57.56000137, 'XMRETH':0.29032001, 'BCHABCUSDC':220.30000305, 'AGIETH':0.00007363, 'ADABNB':0.00680700, 'ONTETH':0.00310100, 'HOTBTC':0.00000008, 'STORMBTC':0.00000035, 'STORMETH':0.00001398, 'STORMBNB':0.00006550, 'STORMUSDT':0.00339700, 'GVTBTC':0.00012610, 'ADXBTC':0.00001195, 'ZRXBNB':0.02304000, 'ARKBTC':0.00004977, 'BATETH':0.00113601, 'MDABTC':0.00004780, 'NANOUSDT':1.02300000, 'OMGUSDT':1.58819997, 'ONEBTC':0.00000075, 'VETETH':0.00007055, 'STRATBTC':0.00007143, 'STRATETH':0.00275600, 'ONEBNB':0.00038650, 'MFTBNB':0.00014210, 'REPBNB':0.44670001, 'COSUSDT':0.00948000, 'COSBNB':0.00052800, 'COSBTC':0.00000104, 'AGIBTC':0.00000223, 'DATABTC':0.00000636, 'DATAETH':0.00024582, 'DENTBTC':0.00000004, 'ASTBTC':0.00000732, 'XLMBNB':0.00554700, 'DOGEUSDT':0.00327550, 'GOBTC':0.00000131, 'GNTBTC':0.00000642, 'XZCBNB':0.30039999, 'GNTBNB':0.00243900, 'FTMBNB':0.00087700, 'SNMBTC':0.00000109, 'MATICUSDT':0.02195000, 'PIVXBTC':0.00004804, 'RLCETH':0.00665500, 'AMBBNB':0.00068500, 'BCDBTC':0.00010519, 'XRPUSDC':0.19720000, 'SNMETH':0.00004986, 'BTTBTC':0.00000005, 'TOMOBTC':0.00010511, 'ONTBNB':0.04133000, 'OMGBTC':0.00017330, 'IOSTBNB':0.00034610, 'VIABTC':0.00002198, 'HCETH':0.00513400, 'BTSBTC':0.00000260, 'AEBTC':0.00001770, 'OAXBTC':0.00000715, 'ARDRBTC':0.00000651, 'EVXBTC':0.00003417, 'NPXSBTC':0.00000003, 'ETHUSDC':237.58000183, 'RCNBTC':0.00000622, 'ALGOBNB':0.02106000, 'ICXUSDT':0.40869999, 'GTOETH':0.00003197, 'EOSPAX':2.58450007, 'WAVESBNB':0.08245000, 'ENJBNB':0.01122600, 'ZECUSDC':57.61999893, 'GTOUSDT':0.00848000, 'XMRBNB':3.85599995, 'PPTBTC':0.00003641, 'VETBNB':0.00093590, 'LINKPAX':3.98340011, 'THETABTC':0.00002596, 'CMTBTC':0.00000143, 'WABIBNB':0.00701400, 'RDNETH':0.00071530, 'RDNBNB':0.00623000, 'ANKRBNB':0.00035540, 'ANKRUSDT':0.00635500, 'SCBNB':0.00018820, 'CMTETH':0.00005491, 'ONEUSDT':0.00693000, 'BQXETH':0.00031880, 'PPTETH':0.00141000, 'GTOBNB':0.00035200, 'SNGLSETH':0.00005306, 'MITHUSDT':0.00842000, 'GNTETH':0.00024752, 'SCETH':0.00001417, 'ICXETH':0.00171800, 'MATICBNB':0.00123130, 'ZILETH':0.00007450, 'AMBETH':0.00004100, 'BATBNB':0.01506000, 'WANBNB':0.01457000, 'ONTUSDC':0.57080001, 'ADXBNB':0.00492900, 'ADXETH':0.00046100, 'LENDBTC':0.00003859, 'STEEMBNB':0.01155000, 'MTLUSDT':0.34169999, 'SKYBTC':0.00006265, 'NEBLETH':0.00245200, 'KMDETH':0.00296700, 'ONGUSDT':0.18529999, 'SNTETH':0.00010790, 'BNTETH':0.00668400, 'BCCBTC':0.07908100, 'HSRBTC':0.00041400, 'OAXETH':0.00017780, 'ICNETH':0.00166300, 'YOYOBTC':0.00000127, 'ZRXETH':0.00173521, 'SALTBTC':0.00004250, 'SALTETH':0.00113800, 'MDAETH':0.00181150, 'MTLETH':0.00144300, 'SUBBTC':0.00000457, 'SUBETH':0.00012334, 'DNTBTC':0.00000087, 'BNTBTC':0.00017337, 'ASTETH':0.00006960, 'ICNBTC':0.00005742, 'EVXETH':0.00131800, 'REQETH':0.00004995, 'HSRETH':0.01247400, 'POWRETH':0.00041949, 'ARKETH':0.00104600, 'YOYOETH':0.00005828, 'MODBTC':0.00004280, 'MODETH':0.00116700, 'VENBNB':0.14920001, 'YOYOBNB':0.00059800, 'POWRBNB':0.00385000, 'VENBTC':0.00013928, 'VENETH':0.00325194, 'NULSBNB':0.01257000, 'RCNBNB':0.00347300, 'DLTBNB':0.00240000, 'WTCBNB':0.02602000, 'BCCETH':2.47246003, 'BCCUSDT':448.70001221, 'BCCBNB':54.29000092, 'BCPTETH':0.00008181, 'BCPTBNB':0.00116200, 'GVTETH':0.00384600, 'CDTETH':0.00003004, 'QSPBNB':0.00052350, 'BTSETH':0.00009498, 'BTSBNB':0.00144800, 'LSKBNB':0.06494000, 'TNTETH':0.00014745, 'FUELETH':0.00002221, 'DGDBTC':0.00393100, 'DGDETH':0.19260000, 'IOTABNB':0.01411000, 'CMTBNB':0.00057700, 'XLMETH':0.00041705, 'CNDETH':0.00002599, 'CNDBNB':0.00033990, 'ICXBNB':0.02285000, 'AIONETH':0.00052600, 'AIONBNB':0.00696900, 'NEBLBNB':0.03251000, 'WINGSBTC':0.00001193, 'WINGSETH':0.00033460, 'NAVETH':0.00048700, 'NAVBNB':0.00423700, 'LUNBTC':0.00008510, 'LUNETH':0.00489100, 'TRIGBTC':0.00001980, 'TRIGETH':0.00059400, 'TRIGBNB':0.01218000, 'APPCBNB':0.00189100, 'RLCBTC':0.00017234, 'RLCBNB':0.08888000, 'PIVXETH':0.00185400, 'PIVXBNB':0.01660000, 'CHATBTC':0.00000195, 'CHATETH':0.00006585, 'STEEMETH':0.00086700, 'NANOETH':0.00432400, 'VIAETH':0.00085600, 'VIABNB':0.00958000, 'BLZBNB':0.00321200, 'AEETH':0.00068600, 'AEBNB':0.00777000, 'RPXBTC':0.00000224, 'RPXETH':0.00005449, 'RPXBNB':0.00145700, 'NCASHBNB':0.00006790, 'POAETH':0.00004891, 'POABNB':0.00092100, 'QTUMBNB':0.09597000, 'XEMBNB':0.00244100, 'WPRBTC':0.00000087, 'WPRETH':0.00004020, 'SYSBTC':0.00000876, 'SYSETH':0.00011047, 'SYSBNB':0.00163500, 'QLCBNB':0.00092200, 'GRSBTC':0.00002058, 'GRSETH':0.00076455, 'CLOAKBTC':0.00015550, 'CLOAKETH':0.00414200, 'LOOMBNB':0.00088500, 'BCNBTC':0.00000022, 'BCNETH':0.00000707, 'BCNBNB':0.00002000, 'TUSDBTC':0.00025971, 'TUSDETH':0.00762097, 'TUSDBNB':0.06777000, 'ZENBNB':0.45789999, 'SKYBNB':0.03022000, 'CVCETH':0.00013089, 'CVCBNB':0.00211200, 'THETABNB':0.01324000, 'IOTAUSDT':0.25250000, 'IOTXBTC':0.00000071, 'NXSBTC':0.00002187, 'NXSETH':0.00077300, 'NXSBNB':0.01087000, 'VENUSDT':0.00010000, 'KEYETH':0.00000793, 'DENTETH':0.00000087, 'ARDRETH':0.00018870, 'ARDRBNB':0.00316800, 'NULSUSDT':0.47070000, 'POLYBNB':0.00145900, 'PHXBTC':0.00000180, 'PHXETH':0.00005617, 'PHXBNB':0.00045600, 'GOBNB':0.00069230, 'PAXBTC':0.00025175, 'PAXBNB':0.20121001, 'PAXETH':0.00888047, 'RVNBNB':0.00112700, 'DCRBNB':0.78100002, 'USDCBNB':0.21754999, 'MITHBNB':0.00047000, 'BCHSVBTC':0.01117900, 'BCHSVUSDT':58.90000153, 'BNBPAX':18.00959969, 'ETHPAX':237.74000549, 'XRPPAX':0.19724000, 'XLMPAX':0.04221000, 'BNBTUSD':17.81500053, 'XRPTUSD':0.19701999, 'EOSTUSD':2.57430005, 'XLMTUSD':0.06833000, 'BNBUSDC':17.82519913, 'XLMUSDC':0.04970000, 'NEOTUSD':10.55000019, 'XZCXRP':20.79199982, 'PAXTUSD':0.99949998, 'USDCPAX':1.00020003, 'LINKTUSD':7.88439989, 'LINKUSDC':7.89750004, 'WAVESTUSD':1.07200003, 'WAVESPAX':0.80290002, 'WAVESUSDC':1.20360005, 'BCHABCTUSD':220.19999695, 'BCHABCPAX':221.19999695, 'BCHSVTUSD':59.16999817, 'BCHSVPAX':58.18000031, 'BCHSVUSDC':57.50000000, 'LTCPAX':42.27000046, 'BNBUSDS':22.27879906, 'BTCUSDS':9604.58984375, 'USDSUSDT':0.99680001, 'USDSPAX':1.00020003, 'USDSTUSD':1.00000000, 'USDSUSDC':1.00000000, 'ONGBNB':0.00545000, 'ZRXUSDT':0.41249999, 'FETBNB':0.00323600, 'ZECBNB':3.21900010, 'ZECPAX':42.09999847, 'ZECTUSD':51.47999954, 'ADAPAX':0.03257000, 'NEOPAX':11.12199974, 'NEOUSDC':10.53600025, 'OMGBNB':0.03938000, 'THETAUSDT':0.23739000, 'ETCUSDC':4.71000004, 'ETCPAX':4.83799982, 'ETCTUSD':3.79500008, 'BATUSDC':0.26980001, 'BATPAX':0.25560001, 'BATTUSD':0.22220001, 'PHBBNB':0.00013700, 'PHBBTC':0.00000044, 'PHBUSDC':0.00587000, 'PHBTUSD':0.00399000, 'PHBPAX':0.00639000, 'TFUELBNB':0.00012590, 'TFUELUSDC':0.00356500, 'TFUELTUSD':0.00307700, 'TFUELPAX':0.00348700, 'ONETUSD':0.00472000, 'ONEPAX':0.00496000, 'ONEUSDC':0.00693000, 'FTMTUSD':0.01095000, 'FTMPAX':0.01028000, 'FTMUSDC':0.01107000, 'BTCBBTC':1.00000000, 'BCPTTUSD':0.02606000, 'BCPTPAX':0.02761000, 'BCPTUSDC':0.02728000, 'ALGOTUSD':0.37459999, 'ALGOPAX':0.20389999, 'ALGOUSDC':0.23800001, 'USDSBUSDT':0.99970001, 'USDSBUSDS':0.99989998, 'GTOPAX':0.01361000, 'GTOTUSD':0.01236000, 'GTOUSDC':0.01196000, 'ERDBNB':0.00080146, 'ERDPAX':0.00125270, 'ERDUSDC':0.00135730, 'DOGEBNB':0.00015270, 'DOGEPAX':0.00216820, 'DOGEUSDC':0.00212770, 'DUSKUSDC':0.01790000, 'DUSKPAX':0.01890000, 'BGBPUSDC':1.26440001, 'ANKRTUSD':0.00212800, 'ANKRPAX':0.00209300, 'ANKRUSDC':0.00209700, 'ONTPAX':0.84509999, 'TUSDBTUSD':0.99750000, 'NPXSUSDC':0.00017020, 'COCOSBNB':0.00002030, 'TOMOBNB':0.05372000, 'TOMOUSDC':0.36700001, 'PERLUSDC':0.02447000, 'KEYUSDT':0.00188300, 'FUNUSDT':0.00364400, 'BANDBNB':0.26363999, 'BANDBTC':0.00051433, 'BANDUSDT':4.69950008, 'BNBBUSD':17.88100052, 'BTCBUSD':9148.41015625, 'BUSDUSDT':1.00020003, 'BEAMBNB':0.02177000, 'BEAMBTC':0.00004120, 'BEAMUSDT':0.37900001, 'XTZBNB':0.16380000, 'XTZBTC':0.00031960, 'XTZUSDT':2.93000007, 'RENUSDT':0.17195000, 'RVNUSDT':0.02022000, 'HCUSDT':1.28750002, 'HBARBNB':0.00224900, 'HBARBTC':0.00000440, 'HBARUSDT':0.04013000, 'NKNBNB':0.00124000, 'NKNBTC':0.00000242, 'NKNUSDT':0.02221000, 'XRPBUSD':0.19721000, 'ETHBUSD':237.50999451, 'BCHABCBUSD':220.16000366, 'LTCBUSD':42.25999832, 'LINKBUSD':7.89589977, 'ETCBUSD':6.11019993, 'STXBNB':0.00830000, 'STXBTC':0.00001620, 'STXUSDT':0.14830001, 'KAVABNB':0.18324000, 'KAVABTC':0.00036027, 'KAVAUSDT':3.29250002, 'BUSDNGN':457.67999268, 'BNBNGN':8170.00000000, 'BTCNGN':4193600.00000000, 'ARPABNB':0.00123100, 'ARPABTC':0.00000241, 'ARPAUSDT':0.02199000, 'TRXBUSD':0.01733000, 'EOSBUSD':2.57410002, 'IOTXUSDT':0.00651300, 'RLCUSDT':1.57070005, 'MCOUSDT':4.12500000, 'XLMBUSD':0.09893000, 'ADABUSD':0.12167000, 'CTXCBNB':0.00412200, 'CTXCBTC':0.00001361, 'CTXCUSDT':0.12510000, 'BCHBNB':12.54500008, 'BCHBTC':0.02450100, 'BCHUSDT':224.19999695, 'BCHUSDC':224.92999268, 'BCHTUSD':224.61999512, 'BCHPAX':224.42999268, 'BCHBUSD':224.44999695, 'BTCRUB':655871.00000000, 'ETHRUB':17115.09960938, 'XRPRUB':14.10200024, 'BNBRUB':1277.45996094, 'TROYBNB':0.00027130, 'TROYBTC':0.00000053, 'TROYUSDT':0.00484940, 'BUSDRUB':71.90000153, 'QTUMBUSD':2.28900003, 'VETBUSD':0.01671100, 'VITEBNB':0.00070700, 'VITEBTC':0.00000167, 'VITEUSDT':0.01529000, 'FTTBNB':0.16270000, 'FTTBTC':0.00031750, 'FTTUSDT':2.90899992, 'BTCTRY':63344.00000000, 'BNBTRY':123.40000153, 'BUSDTRY':6.91699982, 'ETHTRY':1644.09997559, 'XRPTRY':1.36500001, 'USDTTRY':6.92000008, 'USDTRUB':71.79000092, 'BTCEUR':8042.56005859, 'ETHEUR':208.66000366, 'BNBEUR':15.71280003, 'XRPEUR':0.17321000, 'EURBUSD':1.13929999, 'EURUSDT':1.14010000, 'OGNBNB':0.02370000, 'OGNBTC':0.00004628, 'OGNUSDT':0.42320001, 'DREPBNB':0.00009380, 'DREPBTC':0.00000031, 'DREPUSDT':0.00284900, 'BULLUSDT':1370.28002930, 'BULLBUSD':1368.56005859, 'BEARUSDT':11.15999985, 'BEARBUSD':11.14000034, 'TCTBNB':0.00041860, 'TCTBTC':0.00000087, 'TCTUSDT':0.00791100, 'ETHBULLUSDT':79.18000031, 'ETHBULLBUSD':78.45999908, 'ETHBEARUSDT':12.19999981, 'ETHBEARBUSD':12.23999977, 'WRXBNB':0.00784100, 'WRXBTC':0.00001531, 'WRXUSDT':0.14007001, 'ICXBUSD':0.40830001, 'BTSUSDT':0.02361000, 'BTSBUSD':0.02382000, 'LSKUSDT':1.22169995, 'BNTUSDT':1.58179998, 'BNTBUSD':1.57400000, 'LTOBNB':0.00248000, 'LTOBTC':0.00000803, 'LTOUSDT':0.07343000, 'ATOMBUSD':4.11600018, 'DASHBUSD':69.72000122, 'NEOBUSD':10.53800011, 'WAVESBUSD':1.45940006, 'XTZBUSD':2.93409991, 'EOSBULLUSDT':3.84999990, 'EOSBULLBUSD':3.90000010, 'EOSBEARUSDT':30.20999908, 'EOSBEARBUSD':29.80999947, 'XRPBULLUSDT':8.73999977, 'XRPBULLBUSD':8.77999973, 'XRPBEARUSDT':548.54998779, 'XRPBEARBUSD':547.33001709, 'BATBUSD':0.27000001, 'ENJBUSD':0.19978000, 'NANOBUSD':1.02269995, 'ONTBUSD':0.73799998, 'RVNBUSD':0.02020000, 'STRATBUSD':0.65120000, 'STRATBNB':0.01900000, 'STRATUSDT':0.65380001, 'AIONBUSD':0.12480000, 'AIONUSDT':0.12440000, 'MBLBNB':0.00011980, 'MBLBTC':0.00000024, 'MBLUSDT':0.00213700, 'COTIBNB':0.00200700, 'COTIBTC':0.00000390, 'COTIUSDT':0.03581000, 'ALGOBUSD':0.37709999, 'BTTBUSD':0.00039070, 'TOMOBUSD':0.96520001, 'XMRBUSD':68.94000244, 'ZECBUSD':57.52000046, 'BNBBULLUSDT':57.20999908, 'BNBBULLBUSD':58.36999893, 'BNBBEARUSDT':58.61000061, 'BNBBEARBUSD':57.20999908, 'STPTBNB':0.00067000, 'STPTBTC':0.00000183, 'STPTUSDT':0.01676000, 'BTCZAR':164849.00000000, 'ETHZAR':4270.00000000, 'BNBZAR':321.02999878, 'USDTZAR':17.96699905, 'BUSDZAR':18.08699989, 'BTCBKRW':10931534.00000000, 'ETHBKRW':284000.00000000, 'BNBBKRW':21420.00000000, 'WTCUSDT':0.46540001, 'DATABUSD':0.05812000, 'DATAUSDT':0.05811000, 'XZCUSDT':5.41499996, 'SOLBNB':0.04903000, 'SOLBTC':0.00009539, 'SOLBUSD':0.86909997, 'BTCIDRT':135658096.00000000, 'BNBIDRT':264965.00000000, 'USDTIDRT':14810.00000000, 'BUSDIDRT':14855.00000000, 'CTSIBTC':0.00000540, 'CTSIUSDT':0.04950000, 'CTSIBNB':0.00276200, 'CTSIBUSD':0.04940000, 'HIVEBNB':0.01197000, 'HIVEBTC':0.00002341, 'HIVEUSDT':0.21490000, 'CHRBNB':0.00272200, 'CHRBTC':0.00000532, 'CHRUSDT':0.04868000, 'BTCUPUSDT':8.52000046, 'GXSUSDT':0.51690000, 'BTCDOWNUSDT':11.01000023, 'ARDRUSDT':0.05958000, 'ERDBUSD':0.01428400, 'LENDUSDT':0.35218999, 'HBARBUSD':0.04024000, 'MATICBUSD':0.02199000, 'WRXBUSD':0.14020000, 'ZILBUSD':0.01772000, 'MDTBNB':0.00069590, 'MDTBTC':0.00000136, 'MDTUSDT':0.01244000, 'STMXBNB':0.00015180, 'STMXBTC':0.00000029, 'STMXETH':0.00001143, 'STMXUSDT':0.00271500, 'KNCBUSD':1.71000004, 'KNCUSDT':1.71200001, 'REPBUSD':19.44400024, 'REPUSDT':19.53000069, 'LRCBUSD':0.12932000, 'LRCUSDT':0.12951000, 'IQBNB':0.00013080, 'IQBUSD':0.00234800, 'BTCGBP':7302.91992188, 'ETHGBP':190.39999390, 'XRPGBP':0.15791000, 'BNBGBP':14.26900005, 'GBPBUSD':1.25080001, 'PNTBTC':0.00011000, 'PNTUSDT':1.00670004, 'DGBBNB':0.00116900, 'DGBBTC':0.00000228, 'DGBBUSD':0.02097000, 'BTCUAH':254093.00000000, 'USDTUAH':27.76600075, 'COMPBTC':0.01819800, 'COMPBNB':9.28699970, 'COMPBUSD':165.88999939, 'COMPUSDT':166.61000061, 'BTCBIDR':135180992.00000000, 'ETHBIDR':3492194.00000000, 'BNBBIDR':262400.00000000, 'BUSDBIDR':14736.00000000, 'USDTBIDR':14771.00000000, 'BKRWUSDT':0.00083860, 'BKRWBUSD':0.00083510, 'SCUSDT':0.00336100, 'ZENUSDT':8.18700027, 'SXPBTC':0.00020355, 'SXPBNB':0.10426000, 'SXPBUSD':1.86650002, 'SNXBTC':0.00041620, 'SNXBNB':0.21280000, 'SNXBUSD':3.80999994, 'SNXUSDT':3.80500007, 'ETHUPUSDT':9.36999989, 'ETHDOWNUSDT':10.60999966, 'LINKUPUSDT':7.98999977, 'LINKDOWNUSDT':11.18999958, 'ADAUPUSDT':7.71000004, 'ADADOWNUSDT':10.89999962, 'VTHOBNB':0.00007450, 'VTHOBUSD':0.00132600, 'VTHOUSDT':0.00133800} | |
us_prices = {'BTCUSD': 9177.6000, 'ETHUSD': 236.6300, 'XRPUSD': 0.1946, 'BCHUSD': 223.3600, 'LTCUSD': 42.0400, 'USDTUSD': 1.0004, 'BTCUSDT': 9174.40000000, 'ETHUSDT': 236.38000000, 'XRPUSDT': 0.19469000, 'BCHUSDT': 222.96000000, 'LTCUSDT': 42.07000000, 'BNBUSD': 17.6204, 'BNBUSDT': 17.63040000, 'ETHBTC': 0.02576200, 'XRPBTC': 0.00002124, 'BNBBTC': 0.00192230, 'LTCBTC': 0.00458600, 'BCHBTC': 0.02430300, 'ADAUSD': 0.1185, 'BATUSD': 0.2616, 'ETCUSD': 6.0581, 'XLMUSD': 0.0948, 'ZRXUSD': 0.3977, 'ADAUSDT': 0.11831000, 'BATUSDT': 0.26180000, 'ETCUSDT': 6.05560000, 'XLMUSDT': 0.09456000, 'ZRXUSDT': 0.39800000, 'LINKUSD': 7.3203, 'RVNUSD': 0.0210, 'DASHUSD': 69.1700, 'ZECUSD': 57.0000, 'ALGOUSD': 0.3720, 'IOTAUSD': 0.2509, 'BUSDUSD': 1.0000, 'BTCBUSD': 9165.38000000, 'DOGEUSDT': 0.00320420, 'WAVESUSD': 1.6029, 'ATOMUSDT': 3.91900000, 'ATOMUSD': 3.9000, 'NEOUSDT': 10.41600000, 'NEOUSD': 10.3650, 'VETUSDT': 0.01630600, 'QTUMUSDT': 2.22900000, 'QTUMUSD': 2.2310, 'NANOUSD': 1.0220, 'ICXUSD': 0.3999, 'ENJUSD': 0.1935, 'ONTUSD': 0.7286, 'ONTUSDT': 0.72920000, 'ZILUSD': 0.0174, 'ZILBUSD': 0.01732000, 'VETUSD': 0.0164, 'BNBBUSD': 17.56950000, 'XRPBUSD': 0.19445000, 'ETHBUSD': 236.30000000, 'ALGOBUSD': 0.37250000, 'XTZUSD': 2.7867, 'XTZBUSD': 2.79610000, 'HBARUSD': 0.0410, 'HBARBUSD': 0.04142000, 'OMGUSD': 1.6526, 'OMGBUSD': 1.65420000, 'MATICUSD': 0.0217, 'MATICBUSD': 0.02193000, 'XTZBTC': 0.00030370, 'ADABTC': 0.00001292, 'REPBUSD': 18.97000000, 'REPUSD': 19.3800, 'EOSBUSD': 2.58770000, 'EOSUSD': 2.5732, 'DOGEUSD': 0.0032, 'KNCUSD': 1.6580, 'KNCUSDT': 1.65400000} | |
lot_info = {'BTCUSD': {'step_size': '0.00000100', 'min_notional': 10.0}, 'ETHUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'XRPUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BCHUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'LTCUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'USDTUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BTCUSDT': {'step_size': '0.00000100', 'min_notional': 10.0}, 'ETHUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'XRPUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BCHUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'LTCUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BNBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BNBUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ETHBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'XRPBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BNBBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'LTCBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'BCHBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'ADAUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BATUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ETCUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'XLMUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ZRXUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ADAUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BATUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ETCUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'XLMUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ZRXUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'LINKUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'RVNUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'DASHUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'ZECUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'ALGOUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'IOTAUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BUSDUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BTCBUSD': {'step_size': '0.00000100', 'min_notional': 10.0}, 'DOGEUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'WAVESUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ATOMUSDT': {'step_size': '0.00100000', 'min_notional': 10.0}, 'ATOMUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'NEOUSDT': {'step_size': '0.00100000', 'min_notional': 10.0}, 'NEOUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'VETUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'QTUMUSDT': {'step_size': '0.00100000', 'min_notional': 10.0}, 'QTUMUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'NANOUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ICXUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ENJUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'NEOBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'QTUMETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'EOSETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'SNTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'BNTETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'BCCBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'GASBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'BNBETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'HSRBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'OAXETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'DNTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'MCOETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'ICNETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'MCOBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'WTCBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'WTCETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'LRCBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'LRCETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'QTUMBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'YOYOBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'OMGBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'OMGETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'ZRXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ZRXETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'STRATBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'STRATETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'SNGLSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'SNGLSETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'BQXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BQXETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'KNCBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'KNCETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'FUNBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'FUNETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'SNMBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'SNMETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'NEOETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'IOTABTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'IOTAETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'LINKBTC': {'step_size': '0.10000000', 'min_notional': 0.0001}, 'LINKETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'XVGBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'XVGETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'SALTBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'SALTETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'MDABTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'MDAETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'MTLBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'MTLETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'SUBBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'SUBETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'EOSBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'SNTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ETCETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'ETCBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'MTHBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'MTHETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'ENGBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ENGETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'DNTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ZECBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'ZECETH': {'step_size': '0.00100000', 'min_notional': 0.01}, 'BNTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ASTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ASTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'DASHBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'DASHETH': {'step_size': '0.00100000', 'min_notional': 0.01}, 'OAXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ICNBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BTGBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'BTGETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'EVXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'EVXETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'REQBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'REQETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'VIBBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'VIBETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'HSRETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'TRXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'TRXETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'POWRBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'POWRETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'ARKBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ARKETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'YOYOETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'XRPETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'MODBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'MODETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'ENJBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ENJETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'STORJBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'STORJETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'VENBNB': {'step_size': '0.01000000', 'min_notional': 0.1}, 'YOYOBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'POWRBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'VENBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'VENETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'KMDBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'KMDETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'NULSBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'RCNBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'RCNETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'RCNBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'NULSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'NULSETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'RDNBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'RDNETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'RDNBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'XMRBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'XMRETH': {'step_size': '0.00100000', 'min_notional': 0.01}, 'DLTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'WTCBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'DLTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'DLTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'AMBBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'AMBETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'AMBBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'BCCETH': {'step_size': '0.00100000', 'min_notional': 0.01}, 'BCCUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BCCBNB': {'step_size': '0.00001000', 'min_notional': 0.1}, 'BATBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BATETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'BATBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'BCPTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BCPTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'BCPTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'ARNBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ARNETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'GVTBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'GVTETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'CDTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'CDTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'GXSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'GXSETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'NEOBNB': {'step_size': '0.01000000', 'min_notional': 0.1}, 'POEBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'POEETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'QSPBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'QSPETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'QSPBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'BTSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BTSETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'BTSBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'XZCBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'XZCETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'XZCBNB': {'step_size': '0.01000000', 'min_notional': 0.1}, 'LSKBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'LSKETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'LSKBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'TNTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'TNTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'FUELBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'FUELETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'MANABTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'MANAETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'BCDBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BCDETH': {'step_size': '0.00100000', 'min_notional': 0.01}, 'DGDBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'DGDETH': {'step_size': '0.00100000', 'min_notional': 0.01}, 'IOTABNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'ADXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ADXETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'ADXBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'ADABTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ADAETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'PPTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'PPTETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'CMTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'CMTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'CMTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'XLMBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'XLMETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'XLMBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'CNDBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'CNDETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'CNDBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'LENDBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'LENDETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'WABIBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'WABIETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'WABIBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'LTCETH': {'step_size': '0.00100000', 'min_notional': 0.01}, 'LTCBNB': {'step_size': '0.00100000', 'min_notional': 0.1}, 'TNBBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'TNBETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'WAVESBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'WAVESETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'WAVESBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'GTOBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'GTOETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'GTOBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'ICXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ICXETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'ICXBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'OSTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'OSTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'OSTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'ELFBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ELFETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'AIONBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'AIONETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'AIONBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'NEBLBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'NEBLETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'NEBLBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'BRDBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BRDETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'BRDBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'MCOBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'EDOBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'EDOETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'WINGSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'WINGSETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'NAVBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'NAVETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'NAVBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'LUNBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'LUNETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'TRIGBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'TRIGETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'TRIGBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'APPCBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'APPCETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'APPCBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'VIBEBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'VIBEETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'RLCBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'RLCETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'RLCBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'INSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'INSETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'PIVXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'PIVXETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'PIVXBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'IOSTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'IOSTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'CHATBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'CHATETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'STEEMBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'STEEMETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'STEEMBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'NANOBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'NANOETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'NANOBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'VIABTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'VIAETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'VIABNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'BLZBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BLZETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'BLZBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'AEBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'AEETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'AEBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'RPXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'RPXETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'RPXBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'NCASHBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'NCASHETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'NCASHBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'POABTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'POAETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'POABNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'ZILBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ZILETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'ZILBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'ONTBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'ONTETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'ONTBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'STORMBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'STORMETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'STORMBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'QTUMBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'XEMBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'XEMETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'XEMBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'WANBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'WANETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'WANBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'WPRBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'WPRETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'QLCBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'QLCETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'SYSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'SYSETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'SYSBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'QLCBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'GRSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'GRSETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'ADABNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'CLOAKBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'CLOAKETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'GNTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'GNTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'GNTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'LOOMBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'LOOMETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'LOOMBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'BCNBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BCNETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'BCNBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'REPBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'REPETH': {'step_size': '0.00100000', 'min_notional': 0.01}, 'REPBNB': {'step_size': '0.01000000', 'min_notional': 0.1}, 'BTCTUSD': {'step_size': '0.00000100', 'min_notional': 10.0}, 'TUSDBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ETHTUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'TUSDETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'TUSDBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'ZENBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'ZENETH': {'step_size': '0.00100000', 'min_notional': 0.01}, 'ZENBNB': {'step_size': '0.01000000', 'min_notional': 0.1}, 'SKYBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'SKYETH': {'step_size': '0.00100000', 'min_notional': 0.01}, 'SKYBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'EOSUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'EOSBNB': {'step_size': '0.01000000', 'min_notional': 0.1}, 'CVCBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'CVCETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'CVCBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'THETABTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'THETAETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'THETABNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'XRPBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'TUSDUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'IOTAUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'IOTXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'IOTXETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'QKCBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'QKCETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'AGIBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'AGIETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'AGIBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'NXSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'NXSETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'NXSBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'ENJBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'DATABTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'DATAETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'ONTUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'TRXBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'TRXUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ETCBNB': {'step_size': '0.01000000', 'min_notional': 0.1}, 'ICXUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'SCBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'SCETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'SCBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'NPXSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'NPXSETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'VENUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'KEYBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'KEYETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'NASBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'NASETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'NASBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'MFTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'MFTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'MFTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'DENTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'DENTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'ARDRBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ARDRETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'ARDRBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'NULSUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'HOTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'HOTETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'VETBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'VETETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'VETBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'DOCKBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'DOCKETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'POLYBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'POLYBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'PHXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'PHXETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'PHXBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'HCBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'HCETH': {'step_size': '0.01000000', 'min_notional': 0.01}, 'GOBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'GOBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'PAXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'PAXBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'PAXUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'PAXETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'RVNBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'RVNBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'DCRBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'DCRBNB': {'step_size': '0.00100000', 'min_notional': 0.1}, 'USDCBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'MITHBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'MITHBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'BCHABCBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'BCHSVBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'BCHABCUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BCHSVUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BNBPAX': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BTCPAX': {'step_size': '0.00000100', 'min_notional': 10.0}, 'ETHPAX': {'step_size': '0.00001000', 'min_notional': 10.0}, 'XRPPAX': {'step_size': '0.10000000', 'min_notional': 10.0}, 'EOSPAX': {'step_size': '0.01000000', 'min_notional': 10.0}, 'XLMPAX': {'step_size': '0.10000000', 'min_notional': 10.0}, 'RENBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'RENBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'BNBTUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'XRPTUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'EOSTUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'XLMTUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BNBUSDC': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BTCUSDC': {'step_size': '0.00000100', 'min_notional': 10.0}, 'ETHUSDC': {'step_size': '0.00001000', 'min_notional': 10.0}, 'XRPUSDC': {'step_size': '0.10000000', 'min_notional': 10.0}, 'EOSUSDC': {'step_size': '0.01000000', 'min_notional': 10.0}, 'XLMUSDC': {'step_size': '0.10000000', 'min_notional': 10.0}, 'USDCUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ADATUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'TRXTUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'NEOTUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'TRXXRP': {'step_size': '0.10000000', 'min_notional': 10.0}, 'XZCXRP': {'step_size': '0.00100000', 'min_notional': 10.0}, 'PAXTUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'USDCTUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'USDCPAX': {'step_size': '0.01000000', 'min_notional': 10.0}, 'LINKUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'LINKTUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'LINKPAX': {'step_size': '0.01000000', 'min_notional': 10.0}, 'LINKUSDC': {'step_size': '0.01000000', 'min_notional': 10.0}, 'WAVESUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'WAVESTUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'WAVESPAX': {'step_size': '0.01000000', 'min_notional': 10.0}, 'WAVESUSDC': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BCHABCTUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BCHABCPAX': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BCHABCUSDC': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BCHSVTUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BCHSVPAX': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BCHSVUSDC': {'step_size': '0.00001000', 'min_notional': 10.0}, 'LTCTUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'LTCPAX': {'step_size': '0.00001000', 'min_notional': 10.0}, 'LTCUSDC': {'step_size': '0.00001000', 'min_notional': 10.0}, 'TRXPAX': {'step_size': '0.10000000', 'min_notional': 10.0}, 'TRXUSDC': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BTTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BTTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'BTTUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'BNBUSDS': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BTCUSDS': {'step_size': '0.00000100', 'min_notional': 10.0}, 'USDSUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'USDSPAX': {'step_size': '0.01000000', 'min_notional': 10.0}, 'USDSTUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'USDSUSDC': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BTTPAX': {'step_size': '1.00000000', 'min_notional': 10.0}, 'BTTTUSD': {'step_size': '1.00000000', 'min_notional': 10.0}, 'BTTUSDC': {'step_size': '1.00000000', 'min_notional': 10.0}, 'ONGBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'ONGBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ONGUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'HOTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'HOTUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'ZILUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ZRXBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'FETBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'FETBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'FETUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'XMRBNB': {'step_size': '0.00100000', 'min_notional': 0.1}, 'XMRUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'ZECBNB': {'step_size': '0.00100000', 'min_notional': 0.1}, 'ZECUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'ZECPAX': {'step_size': '0.00001000', 'min_notional': 10.0}, 'ZECTUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'ZECUSDC': {'step_size': '0.00001000', 'min_notional': 10.0}, 'IOSTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'IOSTUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'CELRBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'CELRBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'CELRUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ADAPAX': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ADAUSDC': {'step_size': '0.10000000', 'min_notional': 10.0}, 'NEOPAX': {'step_size': '0.00100000', 'min_notional': 10.0}, 'NEOUSDC': {'step_size': '0.00100000', 'min_notional': 10.0}, 'DASHBNB': {'step_size': '0.00100000', 'min_notional': 0.1}, 'DASHUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'NANOUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'OMGBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'OMGUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'THETAUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ENJUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'MITHUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'MATICBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'MATICBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'MATICUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ATOMBNB': {'step_size': '0.01000000', 'min_notional': 0.1}, 'ATOMBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'ATOMUSDC': {'step_size': '0.00100000', 'min_notional': 10.0}, 'ATOMPAX': {'step_size': '0.00100000', 'min_notional': 10.0}, 'ATOMTUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'ETCUSDC': {'step_size': '0.00100000', 'min_notional': 10.0}, 'ETCPAX': {'step_size': '0.00100000', 'min_notional': 10.0}, 'ETCTUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'BATUSDC': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BATPAX': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BATTUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'PHBBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'PHBBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'PHBUSDC': {'step_size': '0.10000000', 'min_notional': 10.0}, 'PHBTUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'PHBPAX': {'step_size': '0.10000000', 'min_notional': 10.0}, 'TFUELBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'TFUELBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'TFUELUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'TFUELUSDC': {'step_size': '1.00000000', 'min_notional': 10.0}, 'TFUELTUSD': {'step_size': '1.00000000', 'min_notional': 10.0}, 'TFUELPAX': {'step_size': '1.00000000', 'min_notional': 10.0}, 'ONEBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'ONEBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ONEUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ONETUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ONEPAX': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ONEUSDC': {'step_size': '0.10000000', 'min_notional': 10.0}, 'FTMBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'FTMBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'FTMUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'FTMTUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'FTMPAX': {'step_size': '0.10000000', 'min_notional': 10.0}, 'FTMUSDC': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BTCBBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'BCPTTUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BCPTPAX': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BCPTUSDC': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ALGOBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'ALGOBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ALGOUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ALGOTUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ALGOPAX': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ALGOUSDC': {'step_size': '0.01000000', 'min_notional': 10.0}, 'USDSBUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'USDSBUSDS': {'step_size': '0.01000000', 'min_notional': 10.0}, 'GTOUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'GTOPAX': {'step_size': '0.10000000', 'min_notional': 10.0}, 'GTOTUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'GTOUSDC': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ERDBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'ERDBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ERDUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'ERDPAX': {'step_size': '1.00000000', 'min_notional': 10.0}, 'ERDUSDC': {'step_size': '1.00000000', 'min_notional': 10.0}, 'DOGEBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'DOGEBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'DOGEPAX': {'step_size': '1.00000000', 'min_notional': 10.0}, 'DOGEUSDC': {'step_size': '1.00000000', 'min_notional': 10.0}, 'DUSKBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'DUSKBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'DUSKUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'DUSKUSDC': {'step_size': '0.01000000', 'min_notional': 10.0}, 'DUSKPAX': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BGBPUSDC': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ANKRBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'ANKRBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ANKRUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'ANKRTUSD': {'step_size': '1.00000000', 'min_notional': 10.0}, 'ANKRPAX': {'step_size': '1.00000000', 'min_notional': 10.0}, 'ANKRUSDC': {'step_size': '1.00000000', 'min_notional': 10.0}, 'ONTPAX': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ONTUSDC': {'step_size': '0.01000000', 'min_notional': 10.0}, 'WINBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'WINBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'WINUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'WINUSDC': {'step_size': '1.00000000', 'min_notional': 10.0}, 'COSBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'COSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'COSUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'TUSDBTUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'NPXSUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'NPXSUSDC': {'step_size': '1.00000000', 'min_notional': 10.0}, 'COCOSBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'COCOSBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'COCOSUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'MTLUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'TOMOBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'TOMOBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'TOMOUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'TOMOUSDC': {'step_size': '0.01000000', 'min_notional': 10.0}, 'PERLBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'PERLBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'PERLUSDC': {'step_size': '0.10000000', 'min_notional': 10.0}, 'PERLUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'DENTUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'MFTUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'KEYUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'STORMUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'DOCKUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'WANUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'FUNUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'CVCUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BTTTRX': {'step_size': '0.10000000', 'min_notional': 100.0}, 'WINTRX': {'step_size': '0.10000000', 'min_notional': 100.0}, 'CHZBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'CHZBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'CHZUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'BANDBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'BANDBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'BANDUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BNBBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BUSDUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BEAMBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'BEAMBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'BEAMUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'XTZBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'XTZBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'XTZUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'RENUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'RVNUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'HCUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'HBARBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'HBARBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'HBARUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'NKNBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'NKNBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'NKNUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'XRPBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ETHBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BCHABCBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'LTCBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'LINKBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ETCBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'STXBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'STXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'STXUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'KAVABNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'KAVABTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'KAVAUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BUSDNGN': {'step_size': '0.01000000', 'min_notional': 500.0}, 'BNBNGN': {'step_size': '0.00100000', 'min_notional': 500.0}, 'BTCNGN': {'step_size': '0.00000100', 'min_notional': 500.0}, 'ARPABNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'ARPABTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'ARPAUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'TRXBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'EOSBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'IOTXUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'RLCUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'MCOUSDT': {'step_size': '0.00100000', 'min_notional': 10.0}, 'XLMBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ADABUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'CTXCBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'CTXCBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'CTXCUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BCHBNB': {'step_size': '0.00100000', 'min_notional': 0.1}, 'BCHUSDC': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BCHTUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BCHPAX': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BCHBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BTCRUB': {'step_size': '0.00000100', 'min_notional': 100.0}, 'ETHRUB': {'step_size': '0.00001000', 'min_notional': 100.0}, 'XRPRUB': {'step_size': '0.10000000', 'min_notional': 100.0}, 'BNBRUB': {'step_size': '0.01000000', 'min_notional': 100.0}, 'TROYBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'TROYBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'TROYUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'BUSDRUB': {'step_size': '0.10000000', 'min_notional': 100.0}, 'QTUMBUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'VETBUSD': {'step_size': '1.00000000', 'min_notional': 10.0}, 'VITEBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'VITEBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'VITEUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'FTTBNB': {'step_size': '0.01000000', 'min_notional': 0.1}, 'FTTBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'FTTUSDT': {'step_size': '0.00100000', 'min_notional': 10.0}, 'BTCTRY': {'step_size': '0.00000100', 'min_notional': 10.0}, 'BNBTRY': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BUSDTRY': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ETHTRY': {'step_size': '0.00001000', 'min_notional': 10.0}, 'XRPTRY': {'step_size': '0.01000000', 'min_notional': 10.0}, 'USDTTRY': {'step_size': '0.01000000', 'min_notional': 10.0}, 'USDTRUB': {'step_size': '0.10000000', 'min_notional': 100.0}, 'BTCEUR': {'step_size': '0.00000100', 'min_notional': 10.0}, 'ETHEUR': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BNBEUR': {'step_size': '0.01000000', 'min_notional': 10.0}, 'XRPEUR': {'step_size': '0.10000000', 'min_notional': 10.0}, 'EURBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'EURUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'OGNBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'OGNBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'OGNUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'DREPBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'DREPBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'DREPUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'BULLUSDT': {'step_size': '0.00000100', 'min_notional': 10.0}, 'BULLBUSD': {'step_size': '0.00000100', 'min_notional': 10.0}, 'BEARUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BEARBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'ETHBULLUSDT': {'step_size': '0.00000100', 'min_notional': 10.0}, 'ETHBULLBUSD': {'step_size': '0.00000100', 'min_notional': 10.0}, 'ETHBEARUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'ETHBEARBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'TCTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'TCTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'TCTUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'WRXBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'WRXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'WRXUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ICXBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BTSUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BTSBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'LSKUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BNTUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BNTBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'LTOBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'LTOBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'LTOUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, '123456': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'ATOMBUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'DASHBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'NEOBUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'WAVESBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'XTZBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'EOSBULLUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'EOSBULLBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'EOSBEARUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'EOSBEARBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'XRPBULLUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'XRPBULLBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'XRPBEARUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'XRPBEARBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BATBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ENJBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'NANOBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ONTBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'RVNBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'STRATBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'STRATBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'STRATUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'AIONBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'AIONUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'MBLBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'MBLBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'MBLUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'COTIBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'COTIBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'COTIUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ALGOBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BTTBUSD': {'step_size': '1.00000000', 'min_notional': 10.0}, 'TOMOBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'XMRBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'ZECBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BNBBULLUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BNBBULLBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BNBBEARUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BNBBEARBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'STPTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'STPTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'STPTUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BTCZAR': {'step_size': '0.00000100', 'min_notional': 100.0}, 'ETHZAR': {'step_size': '0.00001000', 'min_notional': 100.0}, 'BNBZAR': {'step_size': '0.01000000', 'min_notional': 100.0}, 'USDTZAR': {'step_size': '0.10000000', 'min_notional': 100.0}, 'BUSDZAR': {'step_size': '0.10000000', 'min_notional': 100.0}, 'BTCBKRW': {'step_size': '0.00000100', 'min_notional': 1000.0}, 'ETHBKRW': {'step_size': '0.00001000', 'min_notional': 1000.0}, 'BNBBKRW': {'step_size': '0.00100000', 'min_notional': 1000.0}, 'WTCUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'DATABUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'DATAUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'XZCUSDT': {'step_size': '0.00100000', 'min_notional': 10.0}, 'SOLBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'SOLBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'SOLBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BTCIDRT': {'step_size': '0.00000100', 'min_notional': 20000.0}, 'BNBIDRT': {'step_size': '0.00100000', 'min_notional': 20000.0}, 'USDTIDRT': {'step_size': '0.01000000', 'min_notional': 20000.0}, 'BUSDIDRT': {'step_size': '0.01000000', 'min_notional': 20000.0}, 'CTSIBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'CTSIUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'CTSIBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'CTSIBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'HIVEBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'HIVEBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'HIVEUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'CHRBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'CHRBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'CHRUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BTCUPUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'GXSUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'BTCDOWNUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ARDRUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ERDBUSD': {'step_size': '1.00000000', 'min_notional': 10.0}, 'LENDUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'HBARBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'MATICBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'WRXBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'ZILBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'MDTBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'MDTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'MDTUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'STMXBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'STMXBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'STMXETH': {'step_size': '1.00000000', 'min_notional': 0.01}, 'STMXUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'KNCBUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'KNCUSDT': {'step_size': '0.00100000', 'min_notional': 10.0}, 'REPBUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'REPUSDT': {'step_size': '0.00100000', 'min_notional': 10.0}, 'LRCBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'LRCUSDT': {'step_size': '0.10000000', 'min_notional': 10.0}, 'IQBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'IQBUSD': {'step_size': '1.00000000', 'min_notional': 10.0}, 'BTCGBP': {'step_size': '0.00000100', 'min_notional': 10.0}, 'ETHGBP': {'step_size': '0.00001000', 'min_notional': 10.0}, 'XRPGBP': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BNBGBP': {'step_size': '0.00100000', 'min_notional': 10.0}, 'GBPBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'PNTBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'PNTUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'DGBBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'DGBBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'DGBBUSD': {'step_size': '0.10000000', 'min_notional': 10.0}, 'BTCUAH': {'step_size': '0.00000100', 'min_notional': 100.0}, 'USDTUAH': {'step_size': '0.10000000', 'min_notional': 100.0}, 'COMPBTC': {'step_size': '0.00100000', 'min_notional': 0.0001}, 'COMPBNB': {'step_size': '0.00100000', 'min_notional': 0.1}, 'COMPBUSD': {'step_size': '0.00001000', 'min_notional': 10.0}, 'COMPUSDT': {'step_size': '0.00001000', 'min_notional': 10.0}, 'BTCBIDR': {'step_size': '0.00000100', 'min_notional': 20000.0}, 'ETHBIDR': {'step_size': '0.00001000', 'min_notional': 20000.0}, 'BNBBIDR': {'step_size': '0.00100000', 'min_notional': 20000.0}, 'BUSDBIDR': {'step_size': '0.01000000', 'min_notional': 20000.0}, 'USDTBIDR': {'step_size': '0.01000000', 'min_notional': 20000.0}, 'BKRWUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'BKRWBUSD': {'step_size': '1.00000000', 'min_notional': 10.0}, 'SCUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}, 'ZENUSDT': {'step_size': '0.00100000', 'min_notional': 10.0}, 'SXPBTC': {'step_size': '1.00000000', 'min_notional': 0.0001}, 'SXPBNB': {'step_size': '0.10000000', 'min_notional': 0.1}, 'SXPBUSD': {'step_size': '0.01000000', 'min_notional': 10.0}, 'SNXBTC': {'step_size': '0.01000000', 'min_notional': 0.0001}, 'SNXBNB': {'step_size': '0.01000000', 'min_notional': 0.1}, 'SNXBUSD': {'step_size': '0.00100000', 'min_notional': 10.0}, 'SNXUSDT': {'step_size': '0.00100000', 'min_notional': 10.0}, 'ETHUPUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ETHDOWNUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'LINKUPUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'LINKDOWNUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ADAUPUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'ADADOWNUSDT': {'step_size': '0.01000000', 'min_notional': 10.0}, 'VTHOBNB': {'step_size': '1.00000000', 'min_notional': 0.1}, 'VTHOBUSD': {'step_size': '1.00000000', 'min_notional': 10.0}, 'VTHOUSDT': {'step_size': '1.00000000', 'min_notional': 10.0}} | |
min_prices = {'ETHBTC': '0.00000100', 'LTCBTC': '0.00000100', 'BNBBTC': '0.00000010', 'NEOBTC': '0.00000100', 'QTUMETH': '0.00000100', 'EOSETH': '0.00000100', 'SNTETH': '0.00000001', 'BNTETH': '0.00000100', 'BCCBTC': '0.00000100', 'GASBTC': '0.00000010', 'BNBETH': '0.00000100', 'BTCUSDT': '0.01000000', 'ETHUSDT': '0.01000000', 'HSRBTC': '0.00000100', 'OAXETH': '0.00000010', 'DNTETH': '0.00000001', 'MCOETH': '0.00000100', 'ICNETH': '0.00000010', 'MCOBTC': '0.00000010', 'WTCBTC': '0.00000010', 'WTCETH': '0.00000100', 'LRCBTC': '0.00000001', 'LRCETH': '0.00000001', 'QTUMBTC': '0.00000010', 'YOYOBTC': '0.00000001', 'OMGBTC': '0.00000010', 'OMGETH': '0.00000100', 'ZRXBTC': '0.00000001', 'ZRXETH': '0.00000001', 'STRATBTC': '0.00000001', 'STRATETH': '0.00000100', 'SNGLSBTC': '0.00000001', 'SNGLSETH': '0.00000001', 'BQXBTC': '0.00000001', 'BQXETH': '0.00000010', 'KNCBTC': '0.00000001', 'KNCETH': '0.00000010', 'FUNBTC': '0.00000001', 'FUNETH': '0.00000001', 'SNMBTC': '0.00000001', 'SNMETH': '0.00000001', 'NEOETH': '0.00000100', 'IOTABTC': '0.00000001', 'IOTAETH': '0.00000001', 'LINKBTC': '0.00000001', 'LINKETH': '0.00000100', 'XVGBTC': '0.00000001', 'XVGETH': '0.00000001', 'SALTBTC': '0.00000010', 'SALTETH': '0.00000100', 'MDABTC': '0.00000001', 'MDAETH': '0.00000010', 'MTLBTC': '0.00000001', 'MTLETH': '0.00000100', 'SUBBTC': '0.00000001', 'SUBETH': '0.00000001', 'EOSBTC': '0.00000010', 'SNTBTC': '0.00000001', 'ETCETH': '0.00000100', 'ETCBTC': '0.00000010', 'MTHBTC': '0.00000001', 'MTHETH': '0.00000001', 'ENGBTC': '0.00000001', 'ENGETH': '0.00000010', 'DNTBTC': '0.00000001', 'ZECBTC': '0.00000100', 'ZECETH': '0.00001000', 'BNTBTC': '0.00000001', 'ASTBTC': '0.00000001', 'ASTETH': '0.00000010', 'DASHBTC': '0.00000100', 'DASHETH': '0.00001000', 'OAXBTC': '0.00000001', 'ICNBTC': '0.00000001', 'BTGBTC': '0.00000100', 'BTGETH': '0.00000100', 'EVXBTC': '0.00000001', 'EVXETH': '0.00000010', 'REQBTC': '0.00000001', 'REQETH': '0.00000001', 'VIBBTC': '0.00000001', 'VIBETH': '0.00000001', 'HSRETH': '0.00000100', 'TRXBTC': '0.00000001', 'TRXETH': '0.00000001', 'POWRBTC': '0.00000001', 'POWRETH': '0.00000001', 'ARKBTC': '0.00000001', 'ARKETH': '0.00000100', 'YOYOETH': '0.00000001', 'XRPBTC': '0.00000001', 'XRPETH': '0.00000001', 'MODBTC': '0.00000010', 'MODETH': '0.00000100', 'ENJBTC': '0.00000001', 'ENJETH': '0.00000001', 'STORJBTC': '0.00000001', 'STORJETH': '0.00000010', 'BNBUSDT': '0.00010000', 'VENBNB': '0.00010000', 'YOYOBNB': '0.00000100', 'POWRBNB': '0.00001000', 'VENBTC': '0.00000001', 'VENETH': '0.00000001', 'KMDBTC': '0.00000010', 'KMDETH': '0.00000100', 'NULSBNB': '0.00001000', 'RCNBTC': '0.00000001', 'RCNETH': '0.00000001', 'RCNBNB': '0.00000100', 'NULSBTC': '0.00000001', 'NULSETH': '0.00000001', 'RDNBTC': '0.00000001', 'RDNETH': '0.00000010', 'RDNBNB': '0.00001000', 'XMRBTC': '0.00000100', 'XMRETH': '0.00001000', 'DLTBNB': '0.00000100', 'WTCBNB': '0.00001000', 'DLTBTC': '0.00000001', 'DLTETH': '0.00000001', 'AMBBTC': '0.00000001', 'AMBETH': '0.00000001', 'AMBBNB': '0.00000100', 'BCCETH': '0.00001000', 'BCCUSDT': '0.01000000', 'BCCBNB': '0.01000000', 'BATBTC': '0.00000001', 'BATETH': '0.00000001', 'BATBNB': '0.00001000', 'BCPTBTC': '0.00000001', 'BCPTETH': '0.00000001', 'BCPTBNB': '0.00000100', 'ARNBTC': '0.00000001', 'ARNETH': '0.00000001', 'GVTBTC': '0.00000010', 'GVTETH': '0.00000100', 'CDTBTC': '0.00000001', 'CDTETH': '0.00000001', 'GXSBTC': '0.00000001', 'GXSETH': '0.00000100', 'NEOUSDT': '0.00100000', 'NEOBNB': '0.00010000', 'POEBTC': '0.00000001', 'POEETH': '0.00000001', 'QSPBTC': '0.00000001', 'QSPETH': '0.00000001', 'QSPBNB': '0.00000010', 'BTSBTC': '0.00000001', 'BTSETH': '0.00000001', 'BTSBNB': '0.00000100', 'XZCBTC': '0.00000010', 'XZCETH': '0.00000100', 'XZCBNB': '0.00010000', 'LSKBTC': '0.00000010', 'LSKETH': '0.00000100', 'LSKBNB': '0.00001000', 'TNTBTC': '0.00000001', 'TNTETH': '0.00000001', 'FUELBTC': '0.00000001', 'FUELETH': '0.00000001', 'MANABTC': '0.00000001', 'MANAETH': '0.00000001', 'BCDBTC': '0.00000001', 'BCDETH': '0.00001000', 'DGDBTC': '0.00000100', 'DGDETH': '0.00001000', 'IOTABNB': '0.00001000', 'ADXBTC': '0.00000001', 'ADXETH': '0.00000010', 'ADXBNB': '0.00000100', 'ADABTC': '0.00000001', 'ADAETH': '0.00000001', 'PPTBTC': '0.00000001', 'PPTETH': '0.00000100', 'CMTBTC': '0.00000001', 'CMTETH': '0.00000001', 'CMTBNB': '0.00000100', 'XLMBTC': '0.00000001', 'XLMETH': '0.00000001', 'XLMBNB': '0.00000100', 'CNDBTC': '0.00000001', 'CNDETH': '0.00000001', 'CNDBNB': '0.00000010', 'LENDBTC': '0.00000001', 'LENDETH': '0.00000001', 'WABIBTC': '0.00000001', 'WABIETH': '0.00000001', 'WABIBNB': '0.00000100', 'LTCETH': '0.00001000', 'LTCUSDT': '0.01000000', 'LTCBNB': '0.00100000', 'TNBBTC': '0.00000001', 'TNBETH': '0.00000001', 'WAVESBTC': '0.00000010', 'WAVESETH': '0.00000100', 'WAVESBNB': '0.00001000', 'GTOBTC': '0.00000001', 'GTOETH': '0.00000001', 'GTOBNB': '0.00000100', 'ICXBTC': '0.00000001', 'ICXETH': '0.00000100', 'ICXBNB': '0.00001000', 'OSTBTC': '0.00000001', 'OSTETH': '0.00000001', 'OSTBNB': '0.00000010', 'ELFBTC': '0.00000001', 'ELFETH': '0.00000001', 'AIONBTC': '0.00000001', 'AIONETH': '0.00000100', 'AIONBNB': '0.00000100', 'NEBLBTC': '0.00000001', 'NEBLETH': '0.00000100', 'NEBLBNB': '0.00001000', 'BRDBTC': '0.00000001', 'BRDETH': '0.00000010', 'BRDBNB': '0.00001000', 'MCOBNB': '0.00001000', 'EDOBTC': '0.00000001', 'EDOETH': '0.00000100', 'WINGSBTC': '0.00000001', 'WINGSETH': '0.00000010', 'NAVBTC': '0.00000001', 'NAVETH': '0.00000100', 'NAVBNB': '0.00000100', 'LUNBTC': '0.00000010', 'LUNETH': '0.00000100', 'TRIGBTC': '0.00000010', 'TRIGETH': '0.00000100', 'TRIGBNB': '0.00001000', 'APPCBTC': '0.00000001', 'APPCETH': '0.00000010', 'APPCBNB': '0.00000100', 'VIBEBTC': '0.00000001', 'VIBEETH': '0.00000010', 'RLCBTC': '0.00000001', 'RLCETH': '0.00000100', 'RLCBNB': '0.00001000', 'INSBTC': '0.00000001', 'INSETH': '0.00000100', 'PIVXBTC': '0.00000001', 'PIVXETH': '0.00000100', 'PIVXBNB': '0.00001000', 'IOSTBTC': '0.00000001', 'IOSTETH': '0.00000001', 'CHATBTC': '0.00000001', 'CHATETH': '0.00000001', 'STEEMBTC': '0.00000001', 'STEEMETH': '0.00000100', 'STEEMBNB': '0.00001000', 'NANOBTC': '0.00000010', 'NANOETH': '0.00000100', 'NANOBNB': '0.00001000', 'VIABTC': '0.00000001', 'VIAETH': '0.00000100', 'VIABNB': '0.00001000', 'BLZBTC': '0.00000001', 'BLZETH': '0.00000001', 'BLZBNB': '0.00000100', 'AEBTC': '0.00000001', 'AEETH': '0.00000100', 'AEBNB': '0.00001000', 'RPXBTC': '0.00000001', 'RPXETH': '0.00000001', 'RPXBNB': '0.00000100', 'NCASHBTC': '0.00000001', 'NCASHETH': '0.00000001', 'NCASHBNB': '0.00000010', 'POABTC': '0.00000001', 'POAETH': '0.00000001', 'POABNB': '0.00000100', 'ZILBTC': '0.00000001', 'ZILETH': '0.00000001', 'ZILBNB': '0.00000010', 'ONTBTC': '0.00000010', 'ONTETH': '0.00000100', 'ONTBNB': '0.00001000', 'STORMBTC': '0.00000001', 'STORMETH': '0.00000001', 'STORMBNB': '0.00000010', 'QTUMBNB': '0.00001000', 'QTUMUSDT': '0.00100000', 'XEMBTC': '0.00000001', 'XEMETH': '0.00000001', 'XEMBNB': '0.00000100', 'WANBTC': '0.00000001', 'WANETH': '0.00000100', 'WANBNB': '0.00001000', 'WPRBTC': '0.00000001', 'WPRETH': '0.00000001', 'QLCBTC': '0.00000001', 'QLCETH': '0.00000001', 'SYSBTC': '0.00000001', 'SYSETH': '0.00000001', 'SYSBNB': '0.00000100', 'QLCBNB': '0.00000100', 'GRSBTC': '0.00000001', 'GRSETH': '0.00000001', 'ADAUSDT': '0.00001000', 'ADABNB': '0.00000100', 'CLOAKBTC': '0.00000010', 'CLOAKETH': '0.00000100', 'GNTBTC': '0.00000001', 'GNTETH': '0.00000001', 'GNTBNB': '0.00000100', 'LOOMBTC': '0.00000001', 'LOOMETH': '0.00000001', 'LOOMBNB': '0.00000100', 'XRPUSDT': '0.00001000', 'BCNBTC': '0.00000001', 'BCNETH': '0.00000001', 'BCNBNB': '0.00000100', 'REPBTC': '0.00000100', 'REPETH': '0.00001000', 'REPBNB': '0.00010000', 'BTCTUSD': '0.01000000', 'TUSDBTC': '0.00000001', 'ETHTUSD': '0.01000000', 'TUSDETH': '0.00000001', 'TUSDBNB': '0.00001000', 'ZENBTC': '0.00000010', 'ZENETH': '0.00001000', 'ZENBNB': '0.00010000', 'SKYBTC': '0.00000001', 'SKYETH': '0.00001000', 'SKYBNB': '0.00001000', 'EOSUSDT': '0.00010000', 'EOSBNB': '0.00010000', 'CVCBTC': '0.00000001', 'CVCETH': '0.00000001', 'CVCBNB': '0.00000100', 'THETABTC': '0.00000001', 'THETAETH': '0.00000001', 'THETABNB': '0.00000100', 'XRPBNB': '0.00001000', 'TUSDUSDT': '0.00010000', 'IOTAUSDT': '0.00010000', 'XLMUSDT': '0.00001000', 'IOTXBTC': '0.00000001', 'IOTXETH': '0.00000001', 'QKCBTC': '0.00000001', 'QKCETH': '0.00000001', 'AGIBTC': '0.00000001', 'AGIETH': '0.00000001', 'AGIBNB': '0.00000100', 'NXSBTC': '0.00000001', 'NXSETH': '0.00000100', 'NXSBNB': '0.00001000', 'ENJBNB': '0.00000100', 'DATABTC': '0.00000001', 'DATAETH': '0.00000001', 'ONTUSDT': '0.00010000', 'TRXBNB': '0.00000100', 'TRXUSDT': '0.00001000', 'ETCUSDT': '0.00010000', 'ETCBNB': '0.00010000', 'ICXUSDT': '0.00010000', 'SCBTC': '0.00000001', 'SCETH': '0.00000001', 'SCBNB': '0.00000010', 'NPXSBTC': '0.00000001', 'NPXSETH': '0.00000001', 'VENUSDT': '0.00010000', 'KEYBTC': '0.00000001', 'KEYETH': '0.00000001', 'NASBTC': '0.00000010', 'NASETH': '0.00000100', 'NASBNB': '0.00001000', 'MFTBTC': '0.00000001', 'MFTETH': '0.00000001', 'MFTBNB': '0.00000010', 'DENTBTC': '0.00000001', 'DENTETH': '0.00000001', 'ARDRBTC': '0.00000001', 'ARDRETH': '0.00000001', 'ARDRBNB': '0.00000100', 'NULSUSDT': '0.00010000', 'HOTBTC': '0.00000001', 'HOTETH': '0.00000001', 'VETBTC': '0.00000001', 'VETETH': '0.00000001', 'VETUSDT': '0.00000100', 'VETBNB': '0.00000010', 'DOCKBTC': '0.00000001', 'DOCKETH': '0.00000001', 'POLYBTC': '0.00000001', 'POLYBNB': '0.00000100', 'PHXBTC': '0.00000001', 'PHXETH': '0.00000001', 'PHXBNB': '0.00000100', 'HCBTC': '0.00000010', 'HCETH': '0.00000100', 'GOBTC': '0.00000001', 'GOBNB': '0.00000010', 'PAXBTC': '0.00000001', 'PAXBNB': '0.00001000', 'PAXUSDT': '0.00010000', 'PAXETH': '0.00000001', 'RVNBTC': '0.00000001', 'RVNBNB': '0.00000100', 'DCRBTC': '0.00000100', 'DCRBNB': '0.00100000', 'USDCBNB': '0.00001000', 'MITHBTC': '0.00000001', 'MITHBNB': '0.00000100', 'BCHABCBTC': '0.00000100', 'BCHSVBTC': '0.00000100', 'BCHABCUSDT': '0.01000000', 'BCHSVUSDT': '0.01000000', 'BNBPAX': '0.00010000', 'BTCPAX': '0.01000000', 'ETHPAX': '0.01000000', 'XRPPAX': '0.00001000', 'EOSPAX': '0.00010000', 'XLMPAX': '0.00001000', 'RENBTC': '0.00000001', 'RENBNB': '0.00000100', 'BNBTUSD': '0.00010000', 'XRPTUSD': '0.00001000', 'EOSTUSD': '0.00010000', 'XLMTUSD': '0.00001000', 'BNBUSDC': '0.00010000', 'BTCUSDC': '0.01000000', 'ETHUSDC': '0.01000000', 'XRPUSDC': '0.00001000', 'EOSUSDC': '0.00010000', 'XLMUSDC': '0.00001000', 'USDCUSDT': '0.00010000', 'ADATUSD': '0.00001000', 'TRXTUSD': '0.00001000', 'NEOTUSD': '0.00100000', 'TRXXRP': '0.00001000', 'XZCXRP': '0.00100000', 'PAXTUSD': '0.00010000', 'USDCTUSD': '0.00010000', 'USDCPAX': '0.00010000', 'LINKUSDT': '0.00010000', 'LINKTUSD': '0.00010000', 'LINKPAX': '0.00010000', 'LINKUSDC': '0.00010000', 'WAVESUSDT': '0.00010000', 'WAVESTUSD': '0.00010000', 'WAVESPAX': '0.00010000', 'WAVESUSDC': '0.00010000', 'BCHABCTUSD': '0.01000000', 'BCHABCPAX': '0.01000000', 'BCHABCUSDC': '0.01000000', 'BCHSVTUSD': '0.01000000', 'BCHSVPAX': '0.01000000', 'BCHSVUSDC': '0.01000000', 'LTCTUSD': '0.01000000', 'LTCPAX': '0.01000000', 'LTCUSDC': '0.01000000', 'TRXPAX': '0.00001000', 'TRXUSDC': '0.00001000', 'BTTBTC': '0.00000001', 'BTTBNB': '0.00000001', 'BTTUSDT': '0.00000010', 'BNBUSDS': '0.00010000', 'BTCUSDS': '0.01000000', 'USDSUSDT': '0.00010000', 'USDSPAX': '0.00010000', 'USDSTUSD': '0.00010000', 'USDSUSDC': '0.00010000', 'BTTPAX': '0.00000010', 'BTTTUSD': '0.00000010', 'BTTUSDC': '0.00000010', 'ONGBNB': '0.00001000', 'ONGBTC': '0.00000001', 'ONGUSDT': '0.00010000', 'HOTBNB': '0.00000001', 'HOTUSDT': '0.00000010', 'ZILUSDT': '0.00001000', 'ZRXBNB': '0.00001000', 'ZRXUSDT': '0.00010000', 'FETBNB': '0.00000100', 'FETBTC': '0.00000001', 'FETUSDT': '0.00001000', 'BATUSDT': '0.00010000', 'XMRBNB': '0.00100000', 'XMRUSDT': '0.01000000', 'ZECBNB': '0.00100000', 'ZECUSDT': '0.01000000', 'ZECPAX': '0.01000000', 'ZECTUSD': '0.01000000', 'ZECUSDC': '0.01000000', 'IOSTBNB': '0.00000010', 'IOSTUSDT': '0.00000100', 'CELRBNB': '0.00000010', 'CELRBTC': '0.00000001', 'CELRUSDT': '0.00001000', 'ADAPAX': '0.00001000', 'ADAUSDC': '0.00001000', 'NEOPAX': '0.00100000', 'NEOUSDC': '0.00100000', 'DASHBNB': '0.00100000', 'DASHUSDT': '0.01000000', 'NANOUSDT': '0.00010000', 'OMGBNB': '0.00001000', 'OMGUSDT': '0.00010000', 'THETAUSDT': '0.00001000', 'ENJUSDT': '0.00001000', 'MITHUSDT': '0.00001000', 'MATICBNB': '0.00000010', 'MATICBTC': '0.00000001', 'MATICUSDT': '0.00001000', 'ATOMBNB': '0.00010000', 'ATOMBTC': '0.00000010', 'ATOMUSDT': '0.00100000', 'ATOMUSDC': '0.00100000', 'ATOMPAX': '0.00100000', 'ATOMTUSD': '0.00100000', 'ETCUSDC': '0.00100000', 'ETCPAX': '0.00100000', 'ETCTUSD': '0.00100000', 'BATUSDC': '0.00010000', 'BATPAX': '0.00010000', 'BATTUSD': '0.00010000', 'PHBBNB': '0.00000010', 'PHBBTC': '0.00000001', 'PHBUSDC': '0.00001000', 'PHBTUSD': '0.00001000', 'PHBPAX': '0.00001000', 'TFUELBNB': '0.00000010', 'TFUELBTC': '0.00000001', 'TFUELUSDT': '0.00000100', 'TFUELUSDC': '0.00000100', 'TFUELTUSD': '0.00000100', 'TFUELPAX': '0.00000100', 'ONEBNB': '0.00000010', 'ONEBTC': '0.00000001', 'ONEUSDT': '0.00001000', 'ONETUSD': '0.00001000', 'ONEPAX': '0.00001000', 'ONEUSDC': '0.00001000', 'FTMBNB': '0.00000100', 'FTMBTC': '0.00000001', 'FTMUSDT': '0.00001000', 'FTMTUSD': '0.00001000', 'FTMPAX': '0.00001000', 'FTMUSDC': '0.00001000', 'BTCBBTC': '0.00000100', 'BCPTTUSD': '0.00001000', 'BCPTPAX': '0.00001000', 'BCPTUSDC': '0.00001000', 'ALGOBNB': '0.00001000', 'ALGOBTC': '0.00000001', 'ALGOUSDT': '0.00010000', 'ALGOTUSD': '0.00010000', 'ALGOPAX': '0.00010000', 'ALGOUSDC': '0.00010000', 'USDSBUSDT': '0.00010000', 'USDSBUSDS': '0.00010000', 'GTOUSDT': '0.00001000', 'GTOPAX': '0.00001000', 'GTOTUSD': '0.00001000', 'GTOUSDC': '0.00001000', 'ERDBNB': '0.00000001', 'ERDBTC': '0.00000001', 'ERDUSDT': '0.00000100', 'ERDPAX': '0.00000010', 'ERDUSDC': '0.00000010', 'DOGEBNB': '0.00000001', 'DOGEBTC': '0.00000001', 'DOGEUSDT': '0.00000010', 'DOGEPAX': '0.00000010', 'DOGEUSDC': '0.00000010', 'DUSKBNB': '0.00001000', 'DUSKBTC': '0.00000001', 'DUSKUSDT': '0.00010000', 'DUSKUSDC': '0.00010000', 'DUSKPAX': '0.00010000', 'BGBPUSDC': '0.00010000', 'ANKRBNB': '0.00000010', 'ANKRBTC': '0.00000001', 'ANKRUSDT': '0.00000100', 'ANKRTUSD': '0.00000100', 'ANKRPAX': '0.00000100', 'ANKRUSDC': '0.00000100', 'ONTPAX': '0.00010000', 'ONTUSDC': '0.00010000', 'WINBNB': '0.00000001', 'WINBTC': '0.00000001', 'WINUSDT': '0.00000010', 'WINUSDC': '0.00000010', 'COSBNB': '0.00000100', 'COSBTC': '0.00000001', 'COSUSDT': '0.00001000', 'TUSDBTUSD': '0.00010000', 'NPXSUSDT': '0.00000010', 'NPXSUSDC': '0.00000010', 'COCOSBNB': '0.00000010', 'COCOSBTC': '0.00000001', 'COCOSUSDT': '0.00000100', 'MTLUSDT': '0.00010000', 'TOMOBNB': '0.00001000', 'TOMOBTC': '0.00000001', 'TOMOUSDT': '0.00010000', 'TOMOUSDC': '0.00010000', 'PERLBNB': '0.00000100', 'PERLBTC': '0.00000001', 'PERLUSDC': '0.00001000', 'PERLUSDT': '0.00001000', 'DENTUSDT': '0.00000010', 'MFTUSDT': '0.00000100', 'KEYUSDT': '0.00000100', 'STORMUSDT': '0.00000100', 'DOCKUSDT': '0.00000100', 'WANUSDT': '0.00010000', 'FUNUSDT': '0.00000100', 'CVCUSDT': '0.00001000', 'BTTTRX': '0.00001000', 'WINTRX': '0.00001000', 'CHZBNB': '0.00000010', 'CHZBTC': '0.00000001', 'CHZUSDT': '0.00000100', 'BANDBNB': '0.00001000', 'BANDBTC': '0.00000001', 'BANDUSDT': '0.00010000', 'BNBBUSD': '0.00010000', 'BTCBUSD': '0.01000000', 'BUSDUSDT': '0.00010000', 'BEAMBNB': '0.00001000', 'BEAMBTC': '0.00000010', 'BEAMUSDT': '0.00010000', 'XTZBNB': '0.00001000', 'XTZBTC': '0.00000010', 'XTZUSDT': '0.00010000', 'RENUSDT': '0.00001000', 'RVNUSDT': '0.00001000', 'HCUSDT': '0.00010000', 'HBARBNB': '0.00000100', 'HBARBTC': '0.00000001', 'HBARUSDT': '0.00001000', 'NKNBNB': '0.00000100', 'NKNBTC': '0.00000001', 'NKNUSDT': '0.00001000', 'XRPBUSD': '0.00001000', 'ETHBUSD': '0.01000000', 'BCHABCBUSD': '0.01000000', 'LTCBUSD': '0.01000000', 'LINKBUSD': '0.00010000', 'ETCBUSD': '0.00010000', 'STXBNB': '0.00001000', 'STXBTC': '0.00000001', 'STXUSDT': '0.00010000', 'KAVABNB': '0.00001000', 'KAVABTC': '0.00000001', 'KAVAUSDT': '0.00010000', 'BUSDNGN': '0.01000000', 'BNBNGN': '1.00000000', 'BTCNGN': '1.00000000', 'ARPABNB': '0.00000100', 'ARPABTC': '0.00000001', 'ARPAUSDT': '0.00001000', 'TRXBUSD': '0.00001000', 'EOSBUSD': '0.00010000', 'IOTXUSDT': '0.00000100', 'RLCUSDT': '0.00010000', 'MCOUSDT': '0.00100000', 'XLMBUSD': '0.00001000', 'ADABUSD': '0.00001000', 'CTXCBNB': '0.00000100', 'CTXCBTC': '0.00000001', 'CTXCUSDT': '0.00010000', 'BCHBNB': '0.00100000', 'BCHBTC': '0.00000100', 'BCHUSDT': '0.01000000', 'BCHUSDC': '0.01000000', 'BCHTUSD': '0.01000000', 'BCHPAX': '0.01000000', 'BCHBUSD': '0.01000000', 'BTCRUB': '1.00000000', 'ETHRUB': '0.10000000', 'XRPRUB': '0.00100000', 'BNBRUB': '0.01000000', 'TROYBNB': '0.00000010', 'TROYBTC': '0.00000001', 'TROYUSDT': '0.00000010', 'BUSDRUB': '0.00100000', 'QTUMBUSD': '0.00100000', 'VETBUSD': '0.00000100', 'VITEBNB': '0.00000100', 'VITEBTC': '0.00000001', 'VITEUSDT': '0.00001000', 'FTTBNB': '0.00010000', 'FTTBTC': '0.00000010', 'FTTUSDT': '0.00100000', 'BTCTRY': '1.00000000', 'BNBTRY': '0.01000000', 'BUSDTRY': '0.00100000', 'ETHTRY': '0.01000000', 'XRPTRY': '0.00100000', 'USDTTRY': '0.00100000', 'USDTRUB': '0.00100000', 'BTCEUR': '0.01000000', 'ETHEUR': '0.01000000', 'BNBEUR': '0.00010000', 'XRPEUR': '0.00001000', 'EURBUSD': '0.00010000', 'EURUSDT': '0.00010000', 'OGNBNB': '0.00001000', 'OGNBTC': '0.00000001', 'OGNUSDT': '0.00010000', 'DREPBNB': '0.00000010', 'DREPBTC': '0.00000001', 'DREPUSDT': '0.00000100', 'BULLUSDT': '0.01000000', 'BULLBUSD': '0.01000000', 'BEARUSDT': '0.01000000', 'BEARBUSD': '0.01000000', 'ETHBULLUSDT': '0.01000000', 'ETHBULLBUSD': '0.01000000', 'ETHBEARUSDT': '0.01000000', 'ETHBEARBUSD': '0.01000000', 'TCTBNB': '0.00000010', 'TCTBTC': '0.00000001', 'TCTUSDT': '0.00000100', 'WRXBNB': '0.00000100', 'WRXBTC': '0.00000001', 'WRXUSDT': '0.00001000', 'ICXBUSD': '0.00010000', 'BTSUSDT': '0.00001000', 'BTSBUSD': '0.00001000', 'LSKUSDT': '0.00010000', 'BNTUSDT': '0.00010000', 'BNTBUSD': '0.00010000', 'LTOBNB': '0.00000100', 'LTOBTC': '0.00000001', 'LTOUSDT': '0.00001000', 'ATOMBUSD': '0.00100000', 'DASHBUSD': '0.01000000', 'NEOBUSD': '0.00100000', 'WAVESBUSD': '0.00010000', 'XTZBUSD': '0.00010000', 'EOSBULLUSDT': '0.01000000', 'EOSBULLBUSD': '0.01000000', 'EOSBEARUSDT': '0.01000000', 'EOSBEARBUSD': '0.01000000', 'XRPBULLUSDT': '0.01000000', 'XRPBULLBUSD': '0.01000000', 'XRPBEARUSDT': '0.01000000', 'XRPBEARBUSD': '0.01000000', 'BATBUSD': '0.00010000', 'ENJBUSD': '0.00001000', 'NANOBUSD': '0.00010000', 'ONTBUSD': '0.00010000', 'RVNBUSD': '0.00001000', 'STRATBUSD': '0.00010000', 'STRATBNB': '0.00001000', 'STRATUSDT': '0.00010000', 'AIONBUSD': '0.00010000', 'AIONUSDT': '0.00010000', 'MBLBNB': '0.00000010', 'MBLBTC': '0.00000001', 'MBLUSDT': '0.00000100', 'COTIBNB': '0.00000100', 'COTIBTC': '0.00000001', 'COTIUSDT': '0.00001000', 'ALGOBUSD': '0.00010000', 'BTTBUSD': '0.00000010', 'TOMOBUSD': '0.00010000', 'XMRBUSD': '0.01000000', 'ZECBUSD': '0.01000000', 'BNBBULLUSDT': '0.01000000', 'BNBBULLBUSD': '0.01000000', 'BNBBEARUSDT': '0.01000000', 'BNBBEARBUSD': '0.01000000', 'STPTBNB': '0.00000100', 'STPTBTC': '0.00000001', 'STPTUSDT': '0.00001000', 'BTCZAR': '1.00000000', 'ETHZAR': '0.10000000', 'BNBZAR': '0.01000000', 'USDTZAR': '0.00100000', 'BUSDZAR': '0.00100000', 'BTCBKRW': '1.00000000', 'ETHBKRW': '1.00000000', 'BNBBKRW': '1.00000000', 'WTCUSDT': '0.00010000', 'DATABUSD': '0.00001000', 'DATAUSDT': '0.00001000', 'XZCUSDT': '0.00100000', 'SOLBNB': '0.00001000', 'SOLBTC': '0.00000001', 'SOLBUSD': '0.00010000', 'BTCIDRT': '1.00', 'BNBIDRT': '1.00', 'USDTIDRT': '1.00', 'BUSDIDRT': '1.00', 'CTSIBTC': '0.00000001', 'CTSIUSDT': '0.00001000', 'CTSIBNB': '0.00000100', 'CTSIBUSD': '0.00001000', 'HIVEBNB': '0.00001000', 'HIVEBTC': '0.00000001', 'HIVEUSDT': '0.00010000', 'CHRBNB': '0.00000100', 'CHRBTC': '0.00000001', 'CHRUSDT': '0.00001000', 'BTCUPUSDT': '0.01000000', 'BTCDOWNUSDT': '0.01000000', 'GXSUSDT': '0.00010000', 'ARDRUSDT': '0.00001000', 'ERDBUSD': '0.00000100', 'LENDUSDT': '0.00001000', 'HBARBUSD': '0.00001000', 'MATICBUSD': '0.00001000', 'WRXBUSD': '0.00001000', 'ZILBUSD': '0.00001000', 'MDTBNB': '0.00000010', 'MDTBTC': '0.00000001', 'MDTUSDT': '0.00001000', 'STMXBNB': '0.00000010', 'STMXBTC': '0.00000001', 'STMXETH': '0.00000001', 'STMXUSDT': '0.00000100', 'KNCBUSD': '0.00100000', 'KNCUSDT': '0.00100000', 'REPBUSD': '0.00100000', 'REPUSDT': '0.00100000', 'LRCBUSD': '0.00001000', 'LRCUSDT': '0.00001000', 'IQBNB': '0.00000010', 'IQBUSD': '0.00000100', 'PNTBTC': '0.00000001', 'PNTUSDT': '0.00010000', 'BTCGBP': '0.01000000', 'ETHGBP': '0.01000000', 'XRPGBP': '0.00001000', 'BNBGBP': '0.00100000', 'GBPBUSD': '0.00010000', 'DGBBNB': '0.00000100', 'DGBBTC': '0.00000001', 'DGBBUSD': '0.00001000', 'BTCUAH': '1.00000000', 'USDTUAH': '0.00100000', 'COMPBTC': '0.00000100', 'COMPBNB': '0.00100000', 'COMPBUSD': '0.01000000', 'COMPUSDT': '0.01000000', 'BTCBIDR': '1.00', 'ETHBIDR': '1.00', 'BNBBIDR': '1.00', 'BUSDBIDR': '1.00', 'USDTBIDR': '1.00', 'BKRWUSDT': '0.00000010', 'BKRWBUSD': '0.00000010', 'SCUSDT': '0.00000100', 'ZENUSDT': '0.00100000', 'SXPBTC': '0.00000001', 'SXPBNB': '0.00001000', 'SXPBUSD': '0.00010000', 'SNXBTC': '0.00000010', 'SNXBNB': '0.00010000', 'SNXBUSD': '0.00100000', 'SNXUSDT': '0.00100000', 'ETHUPUSDT': '0.01000000', 'ETHDOWNUSDT': '0.01000000', 'ADAUPUSDT': '0.01000000', 'ADADOWNUSDT': '0.01000000', 'LINKUPUSDT': '0.01000000', 'LINKDOWNUSDT': '0.01000000', 'VTHOBNB': '0.00000001', 'VTHOBUSD': '0.00000100', 'VTHOUSDT': '0.00000100', 'DCRBUSD': '0.00100000', 'DGBUSDT': '0.00001000', 'GBPUSDT': '0.00010000', 'STORJBUSD': '0.00010000', 'SXPUSDT': '0.00100000'} | |
def process_trade(market,quantity,side,tld): | |
if tld == "com": | |
price = prices.get(market,None) | |
else: | |
price = us_prices.get(market,None) | |
if not price: | |
return {'code': -1121, 'msg': 'Invalid symbol.'} | |
step_size = lot_info[market]["step_size"] | |
remainder = Decimal(str(quantity))%Decimal(step_size) | |
if remainder: | |
return {'code': -1013, 'msg': 'Filter failure: LOT_SIZE'} | |
min_notional = lot_info[market]["min_notional"] | |
if quantity < min_notional: | |
return {'code': -1013, 'msg': 'Filter failure: MIN_NOTIONAL'} | |
fills = _make_fills(market,quantity,price,step_size) | |
purchase_info ={ | |
'symbol': market, | |
'orderId': random.randrange(10**8,10**9), | |
'orderListId': -1, | |
'clientOrderId': ''.join(random.choices(string.ascii_uppercase + string.digits + string.ascii_lowercase, k=22)), | |
'transactTime': int(time()*1000), | |
'price': '0.00000000', | |
'origQty': f'{quantity:.8f}', | |
'executedQty': f'{quantity:.8f}', | |
'cummulativeQuoteQty': f'{quantity*price:.8f}', | |
'status': 'FILLED', | |
'timeInForce': 'GTC', | |
'type': 'MARKET', | |
'side': side, | |
'fills': fills | |
} | |
return {'code':200, 'msg':purchase_info} | |
def purchase_rounding(quantity,step_size): | |
if step_size == '1.00000000': | |
return round(quantity,0) | |
return round(quantity,step_size.index("1")-1) | |
def _make_fills(market,order_quantity,price,step_size): | |
if market[-3:] in ['BTC','ETH']: | |
commission_asset = random.choice(["BNB",market[:-3]]) | |
bnb_conversion = prices[f"BNB{market[-3:]}"] | |
elif market[-4:] == 'USDT': | |
commission_asset = random.choice(["BNB",market[:-4]]) | |
bnb_conversion = prices[f"BNB{market[-4:]}"] | |
else: | |
commission_asset = "BNB" | |
bnb_conversion = 1.0 | |
price_precision = min_prices.get(market).index("1")-1 | |
num_fills = random.randint(1,3) | |
fill_pct = 0 | |
fill_sum = 0 | |
fills = [] | |
for fill in range(num_fills): | |
if fill == num_fills-1: | |
pct = round(1-fill_pct,2) | |
fill_quantity = purchase_rounding(order_quantity-fill_sum,step_size) | |
else: | |
pct = round(random.uniform(0.01,.98-fill_pct),2) | |
fill_pct+=pct | |
fill_quantity = purchase_rounding(order_quantity * pct,step_size) | |
fill_price = round(random.uniform(price*.98,price*1.02),price_precision) | |
if commission_asset == "BNB": | |
commission = f"{(fill_quantity*fill_price*0.00075)/bnb_conversion:.8f}" | |
else: | |
commission = f"{fill_quantity*0.001:.8f}" | |
fill_sum+=fill_quantity | |
fill_info = { | |
'price': f'{fill_price:.8f}', | |
'qty': f'{fill_quantity:.8f}', | |
'commission': commission, | |
'commissionAsset': commission_asset, | |
'tradeId': random.randrange(10**7,10**8) | |
} | |
fills.append(fill_info) | |
return fills | |
def is_valid_signature(signature,args,api_secret): | |
params = [] | |
for key, value in args.items(): | |
if key != "signature": | |
params.append((key, value)) | |
params.sort(key=itemgetter(0)) | |
query_string = '&'.join(["{}={}".format(x[0], x[1]) for x in params]) | |
request_signature = hmac.new(api_secret.encode('utf-8'), query_string.encode('utf-8'), hashlib.sha256).hexdigest() | |
return hmac.compare_digest(signature,request_signature) | |
def _make_response(response): | |
code = response["code"] | |
if code == 200: | |
r = make_response(json.dumps(response["msg"],sort_keys=False)) | |
r.mimetype = 'application/json' | |
return r | |
if code != -2015: | |
return abort(make_response(jsonify(response),400)) | |
return abort(make_response(jsonify(response),501)) | |
def binance_order_api(request): | |
response = None | |
path = request.path | |
if path not in ["/com","/us"]: | |
{'code': -2324, 'msg': 'Made up code to reprsent wrong path. Try com or us.'} | |
tld = path.replace("/","") | |
args = request_args = request.form | |
headers = request.headers | |
api_key = request.headers.get("X-MBX-APIKEY",None) | |
if not api_key: | |
response = {'code': -2015, 'msg': 'Invalid API-key, IP, or permissions for action.'} | |
api_secret = request.headers.get("X-MBX-APISECRET",None) | |
signature = args.get("signature",None) | |
if api_secret and not is_valid_signature(signature,args,api_secret): | |
response = {'code': -1022, 'msg': 'Signature for this request is not valid.'} | |
if not response: | |
market = args["symbol"] | |
side = args["side"] | |
quantity = float(args["quantity"]) | |
response = process_trade(market,quantity,side,tld) | |
return _make_response(response) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment