Documentation ¶
Index ¶
Constants ¶
View Source
const (
RestEndpointURL = "https://ftx.com/api"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type FTXWS ¶
type FTXWS struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *Configuration) *FTXWS
func (*FTXWS) GetBalance ¶
func (ex *FTXWS) GetBalance() interface{}
type WalletBalance ¶
type WalletBalance struct { Success bool `json:"success"` Result []resultWalletBalance `json:"result"` }
https://docs.ftx.com/#get-balances
func FTXToWalletBalance ¶
func FTXToWalletBalance(data interface{}) (WalletBalance, bool)
Click to show internal directories.
Click to hide internal directories.