Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface {
broker.Broker
GetOrder(ctx context.Context, orderID string) (*broker.OrderResult, error)
GetOrderFills(ctx context.Context, orderID string) ([]broker.OrderFill, error)
GetInstrument(ctx context.Context, market, symbol string) (*broker.Instrument, error)
}
Adapter captures the common broker adapter surface.
Click to show internal directories.
Click to hide internal directories.