use symbol from the strategy config file

This commit is contained in:
c9s 2020-07-14 22:33:47 +08:00
parent 9d828c99e2
commit b5193ca67d

View File

@ -16,6 +16,19 @@ type Strategy interface {
OnNewStream(stream *binance.PrivateStream) error
}
type RegressionTrader struct {
// Context is trading Context
Context *TradingContext
}
func (trader *RegressionTrader) RunStrategy(ctx context.Context, strategy Strategy) {
}
type Trader struct {
Notifier *SlackNotifier