Documentation ¶ Index ¶ func Export(coll *mongo.Collection, start, end time.Time, w *csv.Writer) error func Pull(ex exchange.Exchange, currencyPair string, groupSec, rangeHour int) ([]exchange.Candle, error) func Write(coll *mongo.Collection, candles []exchange.Candle) (success, fail, duplidate int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Export ¶ func Export(coll *mongo.Collection, start, end time.Time, w *csv.Writer) error func Pull ¶ func Pull(ex exchange.Exchange, currencyPair string, groupSec, rangeHour int) ([]exchange.Candle, error) func Write ¶ func Write(coll *mongo.Collection, candles []exchange.Candle) (success, fail, duplidate int, err error) Types ¶ This section is empty. Source Files ¶ View all Source files candles.go Click to show internal directories. Click to hide internal directories.