Skip to content
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

Exchange: support null as undefined #3044

Merged
merged 1 commit into from
Jun 5, 2018
Merged

Exchange: support null as undefined #3044

merged 1 commit into from
Jun 5, 2018

Conversation

egorFiNE
Copy link
Contributor

@egorFiNE egorFiNE commented Jun 5, 2018

This is kind of a major change and I believe it should be propagated thru the whole codebase of ccxt.

See, in js null is more popular than undefined, and most of the time exchanges' responses are fed to filterBy*() and other methods of ccxt "as is".

This commit fixes something that I have just stumbled upon in production on multiple exchanges after a major upgrade of our code to use fetchTickers().

@kroitor kroitor self-assigned this Jun 5, 2018
@kroitor kroitor merged commit 8252bb5 into ccxt:master Jun 5, 2018
@egorFiNE egorFiNE deleted the fix_null_and_undefined branch June 5, 2018 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants