Documentation ¶
Index ¶
- type Config
- type GridConf
- type History
- type MongoConf
- type MySQLConf
- type Node
- func (n *Node) Close()
- func (n *Node) Grid(ctx context.Context) error
- func (n *Node) Init(ctx context.Context)
- func (n *Node) Profit(ctx context.Context, label, start, end string) error
- func (n *Node) PullCandle(ctx context.Context) error
- func (n *Node) Snapshot(ctx context.Context, label string) error
- type User
- type WsNode
- func (n *WsNode) Close()
- func (n *WsNode) Grid(ctx context.Context) error
- func (n *WsNode) Init(ctx context.Context, cfg Config)
- func (n *WsNode) Snapshot(ctx context.Context, label string) error
- func (n *WsNode) SubBalanceForEx(ctx context.Context, ex exchange.Exchange, updateCh chan exchange.Balance)
- func (n *WsNode) SubscribeBalance(ctx context.Context, label string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WsNode ¶
type WsNode struct {
// contains filtered or unexported fields
}
func (*WsNode) SubBalanceForEx ¶
Click to show internal directories.
Click to hide internal directories.