Dave-Vallance / bt-ccxt-store

Fork of Ed Bartosh's CCXT Store Work
MIT License
422 stars 185 forks source link

How to set the instrument to the OKEX Contracts? #15

Closed helldragonx closed 4 years ago

helldragonx commented 5 years ago

OKEX Contracts has the contracts with additional parameters, suck like: base_coin='eth', quote_coin='usd', and contractType = 'quarter', but how to set such instrument into data? Could you give a simple sample, thanks.

helldragonx commented 5 years ago

Also OKEX Contracts position calling has different entry, not same with coin-coin calling.

Dave-Vallance commented 5 years ago

Hi @helldragonx

To be honest, I have not tested at all on OKEX. Each exchange does have its own quirks. It might require looking into the store source code to see if these parameters can be passed.

Does OKEX have a testnet / paper trading account?

Dave-Vallance commented 4 years ago

Closing as no response in a long time