Documentation ¶
Index ¶
- type Backtests
- func (b Backtests) Advance(ctx context.Context, backtestId uint) error
- func (b Backtests) Create(ctx context.Context, req backtest.NewPayload) (id uint, err error)
- func (b Backtests) CreateOrder(ctx context.Context, backtestId uint, order order.Order) error
- func (b Backtests) GetAccounts(ctx context.Context, backtestId uint) (map[string]account.Account, error)
- func (b Backtests) GetOrders(ctx context.Context, backtestId uint) ([]order.Order, error)
- func (b Backtests) SubscribeToEvents(ctx context.Context, backtestId uint, exchange, pairSymbol string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backtests ¶
type Backtests struct {
// contains filtered or unexported fields
}
func (Backtests) CreateOrder ¶
func (Backtests) GetAccounts ¶
Click to show internal directories.
Click to hide internal directories.