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

5
+

6
6
<br>
7
7
[<imgalt="ci errors"src="https://img.shields.io/github/actions/workflow/status/valeratrades/v_exchanges/errors.yml?branch=master&style=for-the-badge&style=flat-square&label=errors&labelColor=420d09"height="20">](https://github.com/valeratrades/v_exchanges/actions?query=branch%3Amaster)<!--NB: Won't find it if repo is private-->
8
8
[<imgalt="ci warnings"src="https://img.shields.io/github/actions/workflow/status/valeratrades/v_exchanges/warnings.yml?branch=master&style=for-the-badge&style=flat-square&label=warnings&labelColor=d16002"height="20">](https://github.com/valeratrades/v_exchanges/actions?query=branch%3Amaster)<!--NB: Won't find it if repo is private-->
Copy file name to clipboardExpand all lines: v_exchanges/src/binance/mod.rs
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,13 @@ use crate::core::{AssetBalance, Exchange, ExchangeInfo, Klines, RequestRange};
14
14
pubstructBinance(pubClient);
15
15
16
16
//? 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?
Copy file name to clipboardExpand all lines: v_exchanges/src/bybit/mod.rs
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,13 @@ use crate::core::{AssetBalance, Exchange, ExchangeInfo, Klines, RequestRange};
16
16
pubstructBybit(pubClient);
17
17
18
18
//? 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?
//? potentially `total_balance`? Would return precompiled USDT-denominated balance of a (bybit::wallet/binance::account)
36
36
// balances are defined for each margin type: [futures_balance, spot_balance, margin_balance], but note that on some exchanges, (like bybit), some of these may point to the same exact call
37
37
// to negate confusion could add a `total_balance` endpoint
0 commit comments