更新one_token合约交易所代码
This commit is contained in:
parent
b479ade526
commit
922914daa7
@ -260,7 +260,7 @@ class OnetokenRestApi(RestClient):
|
||||
symbol = instrument_data["name"]
|
||||
contract = ContractData(
|
||||
symbol=symbol,
|
||||
exchange=Exchange.OKEX, # todo
|
||||
exchange=Exchange(instrument_data['symbol'].split('/')[0].upper()),
|
||||
name=symbol,
|
||||
product=Product.SPOT, # todo
|
||||
size=float(instrument_data["min_amount"]),
|
||||
|
Loading…
Reference in New Issue
Block a user