FTX: Add REST staking and basic subaccount functionality (#692)

* Add FTX staking, missing margin APIs and basic subaccount support

* Fix backtester tests and add optional subaccount support to exchange_wrapper_issues tool

* subAccount to subaccount

* Fix TyPo

* Expand test coverage

* Address nitterinos

* Fix typos

* Remove unusued error type
This commit is contained in:
Adrian Gallagher
2021-06-02 15:52:46 +10:00
committed by GitHub
parent 5ea5245afb
commit f234726382
17 changed files with 361 additions and 84 deletions

View File

@@ -184,10 +184,11 @@ type API struct {
Endpoints *Endpoints
Credentials struct {
Key string
Secret string
ClientID string
PEMKey string
Key string
Secret string
ClientID string
PEMKey string
Subaccount string
}
CredentialsValidator struct {