Replies: 3 comments 2 replies
-
How complicated would it be to use the API ourselves using just a websocket lib like |
Beta Was this translation helpful? Give feedback.
-
I don't know - didn't try to implement it myself :) Bitmex says Own opinion: After working with it for a day I'm quite happy with it. It offers authenticated and non-authenticated connection for rest and ws api and has all the return types. |
Beta Was this translation helpful? Give feedback.
-
Oh god. That makes me think it is not very well-maintained :/
Sounds good! Scanning through their Cargo.toml, I can see a few things that I'd like to avoid:
For the price feed, the websocket API should be good enough yeah? Copying / re-implementing the parts that we need sounds better to me. Gives us flexibility to easily implement re-connecting in case Bitmex's API turns out to disconnect at times, similar to the Kraken one and it keeps our dependency graph reasonably lean. |
Beta Was this translation helpful? Give feedback.
-
I recommend using Bitmex API feed. Our "usual" source (kraken) does not offer CFDs.
I played around with this library which works nicely: https://github.com/dovahcrow/bitmex-rs/
unfortunately it hasn't been released for a while but the latest master works great.
It comes with ws subscription. This gives you the latest rates
Beta Was this translation helpful? Give feedback.
All reactions