mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +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
|
NewStream() Stream
|
||||||
|
|
||||||
|
QueryMarkets(ctx context.Context) (MarketMap, error)
|
||||||
|
|
||||||
QueryAccount(ctx context.Context) (*Account, error)
|
QueryAccount(ctx context.Context) (*Account, error)
|
||||||
|
|
||||||
QueryAccountBalances(ctx context.Context) (BalanceMap, error)
|
QueryAccountBalances(ctx context.Context) (BalanceMap, error)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user