binance-api-node
binance-api-node copied to clipboard
Delivery futures
Add HTTP and WebSocket stuff for delivery API
Note : I'm writing this for my own needs, and am currently still werking on it. Unit tests aren't there yet, and I'm yet to test it in production. Mostly opening the MR with [WIP] flag to open discussion.
Rationale : I'm currently working on a project where I needed access to the delivery API. Rather than writing an adapter with custom requests, I figured I'd be about as quick contributing to this one. I did my best to follow the original code style and design lines as closely as relevant.
Thanks that looks promising! Would you mind removing the changes to the package.json and yarn.lock as they are out of scope of this PR?
No trouble, that's done ;)
Also cleaned up the commit history.
Added tests, fixed package.json / yarn.lock edits. Removing [WIP].
Hey @balthazar I've finished writing the docs. Things are tested, both in the suite and live (fork has been in production for a couple weeks now).
What do you think, can we get this upstream ?
Do you mind running prettier on all files? I think I saw some extra spaces in test files, otherwise looking very good!
Do you mind running prettier on all files? I think I saw some extra spaces in test files, otherwise looking very good!
Done ! Good catch.
💯 Thank you! Will draft a new minor for that one