mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-01 07:26:48 +00:00
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:
@@ -276,11 +276,12 @@ type APIEndpointsConfig struct {
|
||||
|
||||
// APICredentialsConfig stores the API credentials
|
||||
type APICredentialsConfig struct {
|
||||
Key string `json:"key,omitempty"`
|
||||
Secret string `json:"secret,omitempty"`
|
||||
ClientID string `json:"clientID,omitempty"`
|
||||
PEMKey string `json:"pemKey,omitempty"`
|
||||
OTPSecret string `json:"otpSecret,omitempty"`
|
||||
Key string `json:"key,omitempty"`
|
||||
Secret string `json:"secret,omitempty"`
|
||||
ClientID string `json:"clientID,omitempty"`
|
||||
Subaccount string `json:"subaccount,omitempty"`
|
||||
PEMKey string `json:"pemKey,omitempty"`
|
||||
OTPSecret string `json:"otpSecret,omitempty"`
|
||||
}
|
||||
|
||||
// APICredentialsValidatorConfig stores the API credentials validator settings
|
||||
|
||||
Reference in New Issue
Block a user