Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 1.26 KB

File metadata and controls

26 lines (18 loc) · 1.26 KB

Configure exchanges API keys

  • Register API keys in the app (using for example FTX as an exchange)

    • Create a FTX account (or subaccount)
    • Login and go to Preferences > Api > Create a key pair
    • Open a local terminal session
  • Register FTX main account under the stub main :

    curl -d '{"stub": "main", "exchange":"ftx", "apiKey": "YOUR_API_KEY", "secret": "YOUR_SECRET_KEY" }' -X POST http://YOUR.STATIC.IP.ADDRESS/accounts -H 'Content-Type: application/json; charset=utf-8'
  • Register FTX subaccount named testing under the stub sub :

    curl -d '{"stub": "sub", "subaccount":"testing", "exchange":"ftx", "apiKey": "YOUR_API_KEY", "secret": "YOUR_SECRET_KEY" }' -X POST http://YOUR.STATIC.IP.ADDRESS/accounts -H 'Content-Type: application/json; charset=utf-8'
  • Register KuCoin main account under the stub kuc :

    curl -d '{"stub": "kuc", "exchange":"kucoin", "apiKey": "YOUR_API_KEY", "secret": "YOUR_SECRET_KEY", "passphrase": "YOUR_TRADING_PASSPHRASE" }' -X POST http://YOUR.STATIC.IP.ADDRESS/accounts -H 'Content-Type: application/json; charset=utf-8'

Available id for exchanges are listed here.