XChange icon indicating copy to clipboard operation
XChange copied to clipboard

FuturesContract expecting a symbol with format COIN/COIN/PERP

Open dazito opened this issue 4 years ago • 1 comments

Is there a specific reason why on FuturesContract line 34 is requires parts to be at least of size 3?

Because for example, on FTX, the PERP contracts are always {COIN}-PERP (e.g. BTC-PERP) which will fail on this condition.

dazito avatar Nov 23 '21 13:11 dazito

This logic likely needs to be more clever.

earce avatar Nov 26 '21 21:11 earce