markets

package
v1.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Kline types.WsKline
}

Data struct host temporal market data

func (Data) LoadKline

func (d Data) LoadKline(
	configData *types.Config,
	sessionData *types.Session,
	marketData *types.Market)

LoadKline process realtime KLine data via websocket API

func (Data) LoadKlinePast

func (d Data) LoadKlinePast(
	configData *types.Config,
	marketData *types.Market,
	sessionData *types.Session)

LoadKlinePast process past KLine data via REST API

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL