-
-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Spot Test Network #409
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for spending time on this. One small request about the never
type, otherwise this looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Breaking change on the MIN_NOTIONAL vs NOTIONAL filter type. Please also increase the version number in the package.json. Thanks.
@@ -280,9 +281,11 @@ export interface SymbolLotSizeFilter { | |||
} | |||
|
|||
export interface SymbolMinNotionalFilter { | |||
filterType: 'MIN_NOTIONAL'; | |||
filterType: 'NOTIONAL'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a breaking change, MIN_NOTIONAL is definitely there for futures:
https://binance-docs.github.io/apidocs/futures/en/#filters
and for spot as well:
https://binance-docs.github.io/apidocs/spot/en/#filters
Seems I don't have an interface yet for filterType: 'NOTIONAL'
, I'd welcome a change to add it, but it should not be at the cost of removing the existing SymbolMinNotionalFilter interface. You can make a new one such as SymbolNotionalFilter
, but please revert this breaking change.
Summary
Additional Infos
Official resource from binance: https://testnet.binance.vision