-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the bot is returning the wrong step_size value. some background, in 0.0.177 -> 178 the step_size function started failing as binance returned the step_size in a different element of the filters array. As a change in 178, the step_size was calculated by merging all the dictionaries available in the filters array. However there are some filters that also contain a key named stepSize. This resulted in the stepSize being overwritten by another later key with that same name and the function returned that value instead. We now check if the dictionary in the array is the correct filter that we want to check and retrieve the stepSize from that filter.
- Loading branch information
Showing
2 changed files
with
80 additions
and
4 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