Skip to content

Commit 7114b37

Browse files
authored
Merge pull request #1625 from luchenhan/main
chore: fix function names in comment
2 parents 4592be1 + 5791e39 commit 7114b37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/exchange/okex/okexapi/get_order_history_request.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ type GetOrderHistoryRequest struct {
101101
limit *uint64 `param:"limit,query"`
102102
}
103103

104-
// NewGetOrderHistoriesRequest is descending order by createdTime
104+
// NewGetOrderHistoryRequest is descending order by createdTime
105105
func (c *RestClient) NewGetOrderHistoryRequest() *GetOrderHistoryRequest {
106106
return &GetOrderHistoryRequest{
107107
client: c,

pkg/strategy/grid2/strategy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ func (s *Strategy) verifyOrderTrades(o types.Order, trades []types.Trade) bool {
383383
return true
384384
}
385385

386-
// aggregateOrderQuoteAmountAndBaseFee collects the base fee quantity from the given order
386+
// aggregateOrderQuoteAmountAndFee collects the base fee quantity from the given order
387387
// it falls back to query the trades via the RESTful API when the websocket trades are not all received.
388388
func (s *Strategy) aggregateOrderQuoteAmountAndFee(o types.Order) (fixedpoint.Value, fixedpoint.Value, string) {
389389
// try to get the received trades (websocket trades)

0 commit comments

Comments
 (0)