this is the python code
def request(self, method, *args):
payload = {
"method": method,
"params": list(*args),
"jsonrpc": "2.0",
"id": 0,
}
headers = {
'content-type': 'application/json',
'Authorization': "Basic YTph"
}
response = requests.post(self.url, data=json.dumps(payload), headers=headers)
return response
here is the output for print(list(*args)),and the type for price is double
[['03f052d0ed733c2326ca0026999525cbc43009a6', 'bbc8047182eb8d6a632d19a8849a21060a641b48', '06c600653b6dd28d23ae99ec2893887c2b388c88', 'd472fef4e17f3f5df812ebfa9f13234d5
aa44dfd', 'a45ad4cf7ecef2d07fce548d951a8c1083c425fc', 'ba239ae148638286a970aa56261d881b1a9c0086', '06f5ce2e019fc42122423fc998cdae0ba1fbd3d2', 'c7dbd100a6c8e5661939a29a0
0cb57ecc1302da5', 'bd708faa685ff4a69c2982c827381691afaa103f', '646b66a5d5e2a9f55bcc4af33d8ee6f22c0c7a61', 'efd72a3fd0c5edc2cadb23380a3c75798a5a1779', 'b53c5dabe9f6ec70a
d589f24a5d405736f09a6b0', 'c02a77833680603242beaaacdf836bee3c441ce8'], [['bid_order', ['fund.btsbots', 54130.18416381963, 'BTS', 0.08766984456010969, 'CNY']], ['ask_ord
er', ['fund.btsbots', 57146.75192219057, 'BTS', 0.08968609775813902, 'CNY']], ['bid_order', ['fund.btsbots', 226561.9201900809, 'BTS', 0.014206686512333885, 'USD']], ['
ask_order', ['fund.btsbots', 44464.34984026416, 'BTS', 0.015139738236806663, 'USD']], ['bid_order', ['fund.btsbots', 229579.10807175457, 'BTS', 0.9207852670294966, 'BTS
BOTS']], ['ask_order', ['fund.btsbots', 63449.95534834854, 'BTS', 0.9468123420229522, 'BTSBOTS']], ['ask_order', ['fund.btsbots', 11429.350384438114, 'BTS', 1.202899717
9833209e-05, 'GOLD']], ['bid_order', ['fund.btsbots', 20734.845623422014, 'BTS', 0.000873644149803378, 'SILVER']], ['ask_order', ['fund.btsbots', 6722.500212938591, 'BT
S', 0.0009074410160000001, 'SILVER']], ['ask_order', ['fund.btsbots', 8718.544540465993, 'BTS', 0.012189673113103268, 'EUR']], ['bid_order', ['fund.btsbots', 5048.55346
1016416, 'CNY', 10.46800147619338, 'BTSBOTS']], ['ask_order', ['fund.btsbots', 790.9308052753629, 'CNY', 10.584346022961434, 'BTSBOTS']], ['bid_order', ['fund.btsbots',
635.4423479952087, 'USD', 62.05683755900157, 'BTSBOTS']], ['ask_order', ['fund.btsbots', 938.2919722265211, 'USD', 65.31628397641072, 'BTSBOTS']]], True]