bbgo: mark order exeuctor as deprecated
Some checks are pending
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run

This commit is contained in:
c9s 2024-10-23 15:37:57 +08:00
parent c796606c61
commit 738cb24ecb
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -78,6 +78,9 @@ type ExchangeSession struct {
IsInitialized bool `json:"-" yaml:"-"`
// OrderExecutor is the default order executor for the session
//
// Deprecated: use GeneralOrderExecutor instead
OrderExecutor *ExchangeOrderExecutor `json:"orderExecutor,omitempty" yaml:"orderExecutor,omitempty"`
// UserDataStream is the connection stream of the exchange