-
Notifications
You must be signed in to change notification settings - Fork 690
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and improve the synchronization of "exchange_info_service" and…
… "exchange_info_service_test" with the latest interface "exchange_info" status of Binance, and correct some issues (#519) exchange_info_service: spot: 1.Revised the type of MultiplierDecimal to string. 2.Add Filter MAX_NUM_ORDERS and TRAILING_DELTA. 3.remove type PercentPrice, add type PercentPriceBySide. Actually, PercentPriceBySide has replaced PercentPrice. 4.remove type MinNotionalFilter.In fact, it should be removed when adding type Notional. Notional has replaced MinNotionalFilter. futures: 1.Revised the type of MultiplierDecimal to string. delivery: 1.Revised the type of MultiplierDecimal to string 2.Add Filter MAX_NUM_ALGO_ORDERS option: 1.remove type PercentPriceFilter/MarketLotSizeFilter/MaxNumOrdersFilter/MaxNumAlgoOrdersFilter/MinNotionalFilter. Because options currently only have two filters(PRICE_FILTER/LOT_SIZE).I don't think it's necessary to implement these non-existent things. What needs to be done is to maintain consistency with the official interface. It is also possible that the implementer of this module simply copied and modified a copy of the code from other modules before, without considering the actual situation. exchange_info_service_test: Based on the above modifications, the complete testing of the filter has been improved. Of course, combined with my thoughts on existing code, after reviewing these test codes, I found that some of the previous submissions did not complete the testing of the filter. I speculate that there may be some potential unresolved issues and skip this section. At present, it has been repaired and in my opinion, it is relatively complete.
- Loading branch information
Showing
11 changed files
with
446 additions
and
247 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
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
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
Oops, something went wrong.