XChange
XChange copied to clipboard
FuturesContract expecting a symbol with format COIN/COIN/PERP
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.
This logic likely needs to be more clever.