mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
bbgo: add doc comment for ExchangeSessionSubscriber
This commit is contained in:
parent
39b7a956e0
commit
15cfd735a0
|
@ -18,6 +18,8 @@ type SingleExchangeStrategy interface {
|
|||
Run(ctx context.Context, orderExecutor OrderExecutor, session *ExchangeSession) error
|
||||
}
|
||||
|
||||
// ExchangeSessionSubscriber provides an interface for collecting subscriptions from different strategies
|
||||
// Subscribe method will be called before the user data stream connection is created.
|
||||
type ExchangeSessionSubscriber interface {
|
||||
Subscribe(session *ExchangeSession)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user