mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
use symbol from the strategy config file
This commit is contained in:
parent
9d828c99e2
commit
b5193ca67d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user