OctoBot-Tentacles icon indicating copy to clipboard operation
OctoBot-Tentacles copied to clipboard

FTX exchange configuration support for subaccounts does not seem to work

Open philippeback opened this issue 4 years ago • 1 comments

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"})

philippeback avatar Dec 02 '21 12:12 philippeback

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

valouvaliavlo avatar Dec 03 '21 10:12 valouvaliavlo