mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +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
|
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 {
|
type Trader struct {
|
||||||
Notifier *SlackNotifier
|
Notifier *SlackNotifier
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user