mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
types: update ExchangeOrderQueryService interface
This commit is contained in:
parent
babb0abc95
commit
df4ea9c1e6
|
@ -88,6 +88,7 @@ type Exchange interface {
|
|||
// ExchangeOrderQueryService provides an interface for querying the order status via order ID or client order ID
|
||||
type ExchangeOrderQueryService interface {
|
||||
QueryOrder(ctx context.Context, q OrderQuery) (*Order, error)
|
||||
QueryOrderTrades(ctx context.Context, q OrderQuery) ([]Trade, error)
|
||||
}
|
||||
|
||||
type ExchangeTradeService interface {
|
||||
|
|
Loading…
Reference in New Issue
Block a user