Skip to content

Commit f336e5f

Browse files
committed
GetHistoryBySymbol add more parameter support
1 parent 3796664 commit f336e5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

v2/rest/orders.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ func (s *OrderService) AllHistory() (*order.Snapshot, error) {
7474

7575
// Retrieves all past orders with the given symbol
7676
// See https://docs.bitfinex.com/reference#orders-history for more info
77-
func (s *OrderService) GetHistoryBySymbol(symbol string) (*order.Snapshot, error) {
77+
func (s *OrderService) GetHistoryBySymbol(symbol string, startMs, endMs int64, limit int) (*order.Snapshot, error) {
7878
// use no symbol, this will get all orders
79-
return s.getHistoricalOrders(symbol, 0, 0, 0)
79+
return s.getHistoricalOrders(symbol, startMs, endMs, limit)
8080
}
8181

8282
// Retrieve a single order in history with the given id

0 commit comments

Comments
 (0)