mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-02 23:16:51 +00:00
FTX: Add REST subaccount support (#653)
* FTX: Add REST API subaccount support * Add API key check to GetSubaccounts * Fix missing comment and expand to rest of the codebase * Address glorious nits * Address various nits * Fix ZB typo https://www.zb.com/api#hsptccieyyqomlp
This commit is contained in:
@@ -444,7 +444,7 @@ func (h *IntervalRangeHolder) VerifyResultsHaveData(c []Candle) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Set is a simple helper function to set the time twice
|
||||
// CreateIntervalTime is a simple helper function to set the time twice
|
||||
func CreateIntervalTime(tt time.Time) IntervalTime {
|
||||
return IntervalTime{
|
||||
Time: tt,
|
||||
|
||||
@@ -39,6 +39,7 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
// ErrMissingCandleData is an error for missing candle data
|
||||
ErrMissingCandleData = errors.New("missing candle data")
|
||||
// SupportedIntervals is a list of all supported intervals
|
||||
SupportedIntervals = []Interval{
|
||||
|
||||
Reference in New Issue
Block a user