binance / binance-spot-connector-rust

Simple Rust connector to Binance API
MIT License
139 stars 43 forks source link

examples/market /ticker_twenty_four_hr need update #21

Closed hgzhehe closed 3 weeks ago

hgzhehe commented 3 months ago

let request = market::ticker_twenty_four_hr() .symbol("BNBUSDT") .symbols(vec!["BTCUSDT", "BNBBTC"]);

code: -1128, message: "Combination of optional parameters invalid. Recommendation: 'symbol' and 'symbols' cannot both be sent."

alplabin commented 3 weeks ago

Thanks for pointing out this issue. It has been updated in the latest release: v1.3.0