Drakkar-Software / OctoBot-Tentacles

This repository contains public tentacles (packages) for the OctoBot project
https://www.octobot.cloud
GNU Lesser General Public License v3.0
131 stars 71 forks source link

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

Open philippeback opened 2 years ago

philippeback commented 2 years ago

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 commented 2 years ago

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