Closed 0ihsan closed 3 years ago
@ihsanturk Sorry for the late reply, this crate does not have async support. Have you checked https://github.com/nash-io/openlimits? Not sure if they added Futures API, however they have async support.
Thanks for the, I am using Igosuki/binance-rs-async now.
@ihsanturk I've tried my hand at binance-rs-async before. Based on my experience, it's too outdated and poorly maintained. You could try maintaining it, but it's really fallen behind with respect to Rust Futures.
Thank you @LeilaMoussa. I already ended up switching to python-binance since it was easier to get go for me and supports asynchronous request natively. I thought that I would gain some performance by using Rust for high frequency trading but Python implementation was just right there. So I focused primarily on finishing my project with whatever language (Python in this case) and profiling and optimisation secondarily.
@ihsanturk I've tried my hand at binance-rs-async before. Based on my experience, it's too outdated and poorly maintained. You could try maintaining it, but it's really fallen behind with respect to Rust Futures.
Curious what are your preferences now after a year later. I have the same question.
I am trying to get klines for all symbols, I have created this function but having some problems as I am new to the Rust language. Do you have any solutions or suggestions, I also realized that there is Igosuki/binance-rs-async, but it lacks of futures API?
My approach to get klines for all symbols is:
Cargo.toml
./src/futures/market.rs
Error I got