Skip to content

Commit 0cdc302

Browse files
committed
_
1 parent e80bc82 commit 0cdc302

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

examples/binance/market_spot.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ async fn main() {
55
color_eyre::install().unwrap();
66
v_utils::utils::init_subscriber(v_utils::utils::LogDestination::xdg("v_exchanges"));
77

8-
//let m: Market = "Binance/Spot".into(); // would be nice to be able to do it like this, without having to carry around exchange-specific type
9-
// Currently if I want to pass around the market struct in my code after initializing it, I have to pass around eg `binance::Market`, which is a ridiculous thing to hardcode into function signatures
10-
//let m = binance::Market::Spot;
118
let m: AbsMarket = "Binance/Spot".into();
129
let c = m.client();
1310

examples/bybit/market.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ async fn main() {
77
color_eyre::install().unwrap();
88
v_utils::utils::init_subscriber(v_utils::utils::LogDestination::xdg("v_exchanges"));
99

10-
//let m: Market = "Bybit/Linear".into(); // would be nice to be able to do it like this
1110
let m: AbsMarket = "Bybit/Linear".into();
1211
let mut c = m.client();
1312

0 commit comments

Comments
 (0)