mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
chore: fix function names in comment
Signed-off-by: luchenhan <hanluchen@aliyun.com>
This commit is contained in:
parent
0a2b976165
commit
5791e392f5
|
@ -101,7 +101,7 @@ type GetOrderHistoryRequest struct {
|
||||||
limit *uint64 `param:"limit,query"`
|
limit *uint64 `param:"limit,query"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewGetOrderHistoriesRequest is descending order by createdTime
|
// NewGetOrderHistoryRequest is descending order by createdTime
|
||||||
func (c *RestClient) NewGetOrderHistoryRequest() *GetOrderHistoryRequest {
|
func (c *RestClient) NewGetOrderHistoryRequest() *GetOrderHistoryRequest {
|
||||||
return &GetOrderHistoryRequest{
|
return &GetOrderHistoryRequest{
|
||||||
client: c,
|
client: c,
|
||||||
|
|
|
@ -383,7 +383,7 @@ func (s *Strategy) verifyOrderTrades(o types.Order, trades []types.Trade) bool {
|
||||||
return true
|
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.
|
// 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) {
|
func (s *Strategy) aggregateOrderQuoteAmountAndFee(o types.Order) (fixedpoint.Value, fixedpoint.Value, string) {
|
||||||
// try to get the received trades (websocket trades)
|
// try to get the received trades (websocket trades)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user