Documentation ¶
Index ¶
- Constants
- type Builder
- func (b *Builder) Build() WebsocketServiceClient
- func (b *Builder) SetAccountID(accountID string)
- func (b *Builder) SetAccountMode(accountMode string)
- func (b *Builder) SetBuilder(builder WebsocketServiceClient)
- func (b *Builder) SetEmitter(emitter *emission.Emitter)
- func (b *Builder) SetPair(pair string)
- func (b *Builder) SetWebsocket(websocket gowebsocket.Socket)
- type Candle
- type DataFrame
- type Frame
- type Options
- type Service
- type WebsocketServiceClient
Constants ¶
View Source
const ( ColorDefault = "\x1b[39m" ColorRed = "\x1b[91m" ColorGreen = "\x1b[32m" ColorBlue = "\x1b[94m" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder ...
func (*Builder) SetAccountMode ¶
SetAccountMode ...
func (*Builder) SetBuilder ¶
func (b *Builder) SetBuilder(builder WebsocketServiceClient)
SetBuilder ...
func (*Builder) SetWebsocket ¶
func (b *Builder) SetWebsocket(websocket gowebsocket.Socket)
SetWebsocket ...
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service ...
func (*Service) StartCandleStream ¶
StartCandleStream ...
type WebsocketServiceClient ¶
type WebsocketServiceClient interface { // SetOptions ... SetOptions(options Options) // StartCandleStream ... StartCandleStream(ctx context.Context) // Analysis ... Analysis(ctx context.Context, df DataFrame) // Buy ... Buy(ctx context.Context, dir string) }
WebsocketServiceClient ...
Click to show internal directories.
Click to hide internal directories.