Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client - Binance struct that contains the client for API calls and a context cancellable function
func (Client) FetchBinanceCandles ¶
func (b Client) FetchBinanceCandles(pair string, start, end time.Time, interval int) ([]market.Candle, error)
FetchBinanceCandles takes the start and end dates, and the crypto pair as strings, and returns the Binance Candle data for every minute between start and end for a crypto pair
func (Client) FetchOrderBook ¶
Click to show internal directories.
Click to hide internal directories.