tudorelu / pyjuque

⚡ Open Source Algorithmic Trading Bot for Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot trade symbol without '/' in the name

revmischa opened this issue · comments

FTX has futures. They have symbols like ETH-PERP.

If I try to load up this symbol I get the error:

  File ".../lib/python3.9/site-packages/pyjuque/Bot.py", line 65, in defineBot
    quote_asset = symbols[0].split('/')[1]
IndexError: list index out of range

Screenshot 2021-08-22 at 12 09 12

commented

Hey there, I merged your pull request about this issue.
Also if you have added FTX integration feel free to make a pull request and I'll merge it.

Either way, thanks for using pyjuque.