Skip to content

Commit

Permalink
add doc for MAX_QUERY_CLOSED_ORDERS_LIMIT
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Mar 7, 2022
1 parent fcbdf81 commit 0295e47
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/configuration/envvars.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
MAX_QUERY_CLOSED_ORDERS_NUM_OF_PAGES=10


# MAX_QUERY_CLOSED_ORDERS_LIMIT=[limit per query]
# using defualt limit 1000 might cause the server response timeout, you can decrease this limit to prevent this kind of error.
# default = 1000
MAX_QUERY_CLOSED_ORDERS_LIMIT=500


# MAX_QUERY_CLOSED_ORDERS_ALL=[1 or 0]
# The MAX Exchange API does not support time-range based query for the closed orders
# If you want to sync all the orders, you must start from the first page
Expand Down

0 comments on commit 0295e47

Please sign in to comment.