types: update ExchangeOrderQueryService interface

This commit is contained in:
c9s 2022-08-05 11:21:09 +08:00
parent babb0abc95
commit df4ea9c1e6
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -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 {