mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 01:01:56 +00:00
add query markets to the exchagne interface
This commit is contained in:
parent
5112b83041
commit
c167b2f303
|
@ -34,6 +34,8 @@ type Exchange interface {
|
|||
|
||||
NewStream() Stream
|
||||
|
||||
QueryMarkets(ctx context.Context) (MarketMap, error)
|
||||
|
||||
QueryAccount(ctx context.Context) (*Account, error)
|
||||
|
||||
QueryAccountBalances(ctx context.Context) (BalanceMap, error)
|
||||
|
|
Loading…
Reference in New Issue
Block a user