You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let kline_responses:Vec<KlineResponse> = client.get("/fapi/v1/klines",Some(¶ms),[BinanceOption::HttpUrl(BinanceHttpUrl::FuturesUsdM)]).await.unwrap();
25
+
let kline_responses:Vec<KlineResponse> = client.get("/fapi/v1/klines",¶ms,[BinanceOption::HttpUrl(BinanceHttpUrl::FuturesUsdM)]).await.unwrap();
23
26
let klines:Vec<Kline> = kline_responses.into_iter().map(Kline::from).collect();
24
27
25
28
Ok(Klines{v: klines, tf,oi:Vec::new()})
@@ -78,16 +81,11 @@ impl From<KlineResponse> for Kline {
78
81
// price {{{
79
82
//HACK: not sure this is _the_ thing to use for that (throwing away A LOT of data)
Copy file name to clipboardExpand all lines: v_exchanges_deser/src/binance/mod.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ use crate::core::{AssetBalance, Exchange, Klines};
8
8
9
9
//? currently client ends up importing this from crate::binance, but could it be possible to lift the [Client] reexport up, and still have the ability to call all exchange methods right on it?
0 commit comments