mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
drop legacy backtest trader
This commit is contained in:
parent
4c20c9f4ff
commit
26f97b43e8
|
@ -2,13 +2,9 @@ package bbgo
|
|||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/c9s/bbgo/pkg/accounting"
|
||||
"github.com/c9s/bbgo/pkg/types"
|
||||
"github.com/c9s/bbgo/pkg/util"
|
||||
)
|
||||
|
||||
type BackTestStream struct {
|
||||
|
@ -37,6 +33,7 @@ func (trader *BackTestTrader) SubmitOrder(cxt context.Context, order *types.Subm
|
|||
trader.pendingOrders = append(trader.pendingOrders, order)
|
||||
}
|
||||
|
||||
/*
|
||||
func (trader *BackTestTrader) RunStrategy(ctx context.Context, strategy SingleExchangeStrategy) (chan struct{}, error) {
|
||||
logrus.Infof("[regression] number of kline data: %d", len(trader.SourceKLines))
|
||||
|
||||
|
@ -148,3 +145,4 @@ func (trader *BackTestTrader) RunStrategy(ctx context.Context, strategy SingleEx
|
|||
|
||||
return done, nil
|
||||
}
|
||||
*/
|
Loading…
Reference in New Issue
Block a user