mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
Merge pull request #1625 from luchenhan/main
chore: fix function names in comment
This commit is contained in:
commit
7114b37967
|
@ -101,7 +101,7 @@ type GetOrderHistoryRequest struct {
|
|||
limit *uint64 `param:"limit,query"`
|
||||
}
|
||||
|
||||
// NewGetOrderHistoriesRequest is descending order by createdTime
|
||||
// NewGetOrderHistoryRequest is descending order by createdTime
|
||||
func (c *RestClient) NewGetOrderHistoryRequest() *GetOrderHistoryRequest {
|
||||
return &GetOrderHistoryRequest{
|
||||
client: c,
|
||||
|
|
|
@ -383,7 +383,7 @@ func (s *Strategy) verifyOrderTrades(o types.Order, trades []types.Trade) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
// aggregateOrderQuoteAmountAndBaseFee collects the base fee quantity from the given order
|
||||
// aggregateOrderQuoteAmountAndFee collects the base fee quantity from the given order
|
||||
// it falls back to query the trades via the RESTful API when the websocket trades are not all received.
|
||||
func (s *Strategy) aggregateOrderQuoteAmountAndFee(o types.Order) (fixedpoint.Value, fixedpoint.Value, string) {
|
||||
// try to get the received trades (websocket trades)
|
||||
|
|
Loading…
Reference in New Issue
Block a user