forked from c9s/bbgo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Environment Variables | ||
|
||
## MAX Exchange | ||
|
||
```shell | ||
# MAX_QUERY_CLOSED_ORDERS_NUM_OF_PAGES=[number of pages] | ||
# The MAX Exchange API does not support time-range based query for the closed orders | ||
# We can only sync the closed orders by page number, here is the maximum pages you want to sync | ||
MAX_QUERY_CLOSED_ORDERS_NUM_OF_PAGES=10 | ||
|
||
|
||
# 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 | ||
# To enable this mode, set this variable to 1 | ||
MAX_QUERY_CLOSED_ORDERS_ALL=1 | ||
``` | ||
|