Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTX exchange configuration support for subaccounts does not seem to work #624

Open
philippeback opened this issue Dec 2, 2021 · 1 comment

Comments

@philippeback
Copy link

How to add the FTX-SUBACCOUNT header in the config for CCXT exchanges?

add_headers does not seem to be invoked in the code nor is there any documentation about how to use it.

This feature is in a changelog apparently.

2021-12-02 11:59:14,787 INFO     WebService           Interface successfully initialized and accessible at: http://172.17.0.2:5022.
 2021-12-02 11:59:15,386 ERROR    CCXTExchange[ftx]    Exchange configuration is invalid : please check your configuration ! (PermissionDenied: ftx {"success":false,"error":"Only have permissions for subaccount Octobot"})
@valouvaliavlo
Copy link
Contributor

Hi @philippeback you need to add "sub_account" key in your config.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants