Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SorellaLabs/cex-exchanges
/ functions
Functions
449 in github.com/SorellaLabs/cex-exchanges
⨍
Functions
449
◇
Types & classes
157
↓ 38 callers
Function
init_test_tracing
()
tests/utils.rs:123
↓ 26 callers
Method
normalize
(&self)
src/exchanges/okex/pairs.rs:19
↓ 21 callers
Method
add_channel
(&mut self, channel: KucoinWsChannel)
src/exchanges/kucoin/ws/subscription.rs:18
↓ 15 callers
Method
build_many_packed
(self, connections_per_stream: Option<usize>)
src/exchanges/okex/ws/builder.rs:101
↓ 13 callers
Method
get_normalized_pair
(&self, exchange: CexExchange)
src/exchanges/normalized/types/pairs.rs:141
↓ 12 callers
Method
with_first_update_id
(mut self, first_update_id: u64)
src/exchanges/normalized/types/l2.rs:72
↓ 12 callers
Method
with_time
(mut self, time: DateTime<Utc>)
src/exchanges/normalized/types/l2.rs:67
↓ 11 callers
Method
pair
(&self)
src/exchanges/normalized/types/pairs.rs:42
↓ 10 callers
Function
mutlistream_util
(builder: MultiWsStreamBuilder<E>, iterations: usize)
tests/utils.rs:37
↓ 9 callers
Method
delimiter
(&self)
src/exchanges/normalized/types/pairs.rs:58
↓ 9 callers
Method
take_instruments
(self, active_only: bool)
src/exchanges/okex/rest_api/response.rs:27
↓ 7 callers
Method
base_quote
(&self)
src/exchanges/normalized/types/pairs.rs:46
↓ 7 callers
Method
build_multistream_unconnected
(self, config: WsStreamConfig)
src/clients/ws/mutli.rs:107
↓ 7 callers
Method
handle_retry
(&mut self, msg: CombinedWsMessage)
src/clients/ws/single.rs:90
↓ 7 callers
Method
reconnect
(&mut self, cx: &mut Context<'_>)
src/clients/ws/single.rs:50
↓ 6 callers
Method
normalized_with_exchange
(self, exchange: CexExchange, raw_message: Option<String>)
src/clients/ws/errors.rs:22
↓ 6 callers
Method
spawn_multithreaded
(self, num_threads: usize, config: WsStreamConfig)
src/clients/ws/mutli.rs:127
↓ 5 callers
Method
add_channel
(mut self, channel: Self::WsChannel)
src/exchanges/binance/ws/builder.rs:67
↓ 5 callers
Method
add_channel
(mut self, channel: Self::WsChannel)
src/exchanges/coinbase/ws/builder.rs:61
↓ 5 callers
Method
add_channel
(mut self, channel: Self::WsChannel)
src/exchanges/kucoin/ws/builder.rs:66
↓ 5 callers
Method
add_channel
(mut self, channel: Self::WsChannel)
src/exchanges/bybit/ws/builder.rs:62
↓ 5 callers
Method
add_channel
(mut self, channel: Self::WsChannel)
src/exchanges/okex/ws/builder.rs:70
↓ 5 callers
Method
build_many_distributed
(self)
src/exchanges/okex/ws/builder.rs:82
↓ 5 callers
Method
build_multistream_unconnected_raw
(self, config: WsStreamConfig)
src/clients/ws/mutli.rs:120
↓ 5 callers
Method
build_single
(self)
src/exchanges/okex/ws/builder.rs:75
↓ 5 callers
Method
is_err
(&self)
src/exchanges/normalized/ws/message.rs:57
↓ 5 callers
Function
mutlithreaded_util
(builder: MultiWsStreamBuilder<E>, iterations: usize)
tests/utils.rs:61
↓ 5 callers
Function
stream_util
(exchange: E, iterations: usize)
tests/utils.rs:14
↓ 5 callers
Method
take_currencies
(self)
src/exchanges/okex/rest_api/response.rs:20
↓ 4 callers
Method
add_pairs_all_channels
adds trading pairs to all channels
src/exchanges/normalized/ws/builder.rs:86
↓ 4 callers
Function
binance_util
(builder: BinanceWsBuilder, iterations: usize)
tests/ws.rs:236
↓ 4 callers
Method
is_ok
(&self)
src/exchanges/normalized/ws/message.rs:53
↓ 4 callers
Method
new_reconnect
(&mut self)
src/clients/ws/single.rs:218
↓ 3 callers
Method
combine_wrapped_assets
takes a wrapped currency and a vec of unwrapped currencies returns either: - an unwrapped currency with the `blockchains.wrapped_currency` field updat
src/exchanges/normalized/types/currencies.rs:57
↓ 3 callers
Method
get_all_instruments
(&self, web_client: &reqwest::Client)
src/exchanges/okex/mod.rs:62
↓ 3 callers
Method
make_many_single
(self)
src/exchanges/normalized/ws/channels.rs:40
↓ 3 callers
Method
make_pair
(&self)
src/exchanges/normalized/types/pairs.rs:62
↓ 3 callers
Method
new_timeout_rx
(&mut self)
src/clients/ws/single.rs:223
↓ 2 callers
Method
add_pairs
(&mut self, pairs: Vec<KucoinTradingPair>)
src/exchanges/kucoin/ws/subscription.rs:63
↓ 2 callers
Method
add_pairs
(&mut self, exchange: CexExchange, pairs: &[RawTradingPair])
src/exchanges/normalized/ws/channels.rs:79
↓ 2 callers
Method
add_pairs_single_channel
adds trading pairs to a channel
src/exchanges/normalized/ws/builder.rs:99
↓ 2 callers
Function
bybit_util
(builder: BybitWsBuilder, iterations: usize)
tests/ws.rs:418
↓ 2 callers
Function
coinbase_util
(builder: CoinbaseWsBuilder, iterations: usize)
tests/ws.rs:23
↓ 2 callers
Method
connect
(&mut self)
src/clients/ws/single.rs:41
↓ 2 callers
Method
filter_matches
(&self, vals: &mut Vec<T>)
src/exchanges/traits/filter.rs:4
↓ 2 callers
Method
get_all_instruments
gets the normalized instruments from the different exchange endpoints ex: BNB-ETH, ETHBTC, BTC/USDC if calling without a filter: ``` CexExchange::Oke
src/exchanges/mod.rs:257
↓ 2 callers
Method
is_reconnecting
(&self)
src/clients/ws/single.rs:231
↓ 2 callers
Function
kucoin_util
(builder: KucoinWsBuilder, iterations: usize)
tests/ws.rs:336
↓ 2 callers
Method
make_subscription_url
(&self)
src/exchanges/binance/ws/subscription.rs:58
↓ 2 callers
Method
make_ws_connection
(&self)
src/exchanges/okex/mod.rs:105
↓ 2 callers
Method
normalize
(self)
src/exchanges/coinbase/rest_api/endpoints/products.rs:21
↓ 2 callers
Method
normalize
(self)
src/exchanges/kucoin/rest_api/endpoints/symbols.rs:20
↓ 2 callers
Method
normalize
(self)
src/exchanges/bybit/rest_api/endpoints/instruments.rs:21
↓ 2 callers
Method
normalize_with
(&self, base: &str, quote: &str)
src/exchanges/binance/pairs.rs:23
↓ 2 callers
Function
normalized_mutlithreaded_util
(builder: NormalizedExchangeBuilder, iterations: usize)
tests/utils.rs:85
↓ 2 callers
Function
okex_util
(builder: OkexWsBuilder, iterations: usize)
tests/ws.rs:131
↓ 2 callers
Method
parse_blockchain
(&self)
src/exchanges/binance/rest_api/endpoints/symbols.rs:125
↓ 2 callers
Method
parse_blockchain
(&self)
src/exchanges/bybit/rest_api/endpoints/proxy_coins.rs:72
↓ 2 callers
Method
parse_blockchain_address
(self)
src/exchanges/bybit/rest_api/endpoints/coins.rs:122
↓ 2 callers
Method
parse_blockchains
(&self)
src/exchanges/coinbase/rest_api/endpoints/currencies.rs:97
↓ 2 callers
Method
run_with_sender
(mut self, tx: UnboundedSender<CombinedWsMessage>)
src/clients/ws/mutli.rs:40
↓ 2 callers
Method
with_last_update_id
(mut self, last_update_id: u64)
src/exchanges/normalized/types/l2.rs:77
↓ 1 callers
Method
add_channels_one_exchange
(mut self, exchange: CexExchange, channels: &[NormalizedWsChannelKinds])
src/exchanges/normalized/ws/builder.rs:30
↓ 1 callers
Method
all_subscriptions
(self)
src/exchanges/kucoin/ws/subscription.rs:33
↓ 1 callers
Method
bad_pair
(self, msg: String)
src/exchanges/mod.rs:337
↓ 1 callers
Method
build_all_multithreaded
builds the multithreaded multistream ws client
src/exchanges/normalized/ws/builder.rs:146
↓ 1 callers
Method
build_multistream_unconnected_raw_ws_from_normalized
( self, map: Vec<NormalizedWsChannels>, exch_currency_proxy: Option<CexExchange>,
src/exchanges/mod.rs:158
↓ 1 callers
Method
build_multistream_ws_from_normalized
( self, map: Vec<NormalizedWsChannels>, config: WsStreamConfig, connections_pe
src/exchanges/mod.rs:79
↓ 1 callers
Method
combine_other
(self, other: Self)
src/clients/ws/mutli.rs:19
↓ 1 callers
Method
extra_data
(&self)
src/exchanges/normalized/types/pairs.rs:78
↓ 1 callers
Method
get_all_symbols
( &'a self, web_client: &'a reqwest::Client )
src/exchanges/okex/mod.rs:47
↓ 1 callers
Method
get_token
(&self)
src/exchanges/kucoin/ws/subscription.rs:127
↓ 1 callers
Method
get_ws_endpoint
(&self)
src/exchanges/kucoin/ws/subscription.rs:118
↓ 1 callers
Method
handle_bad_pair
Some(true) => subscription is empty Some(false) => subscription is not empty None => no bad pair found
src/clients/ws/single.rs:113
↓ 1 callers
Method
has_blockchain
checks if the currency is found in a certain blockchain
src/exchanges/normalized/types/currencies.rs:83
↓ 1 callers
Method
is_gateway_timeout
(&self)
src/clients/rest_api/errors.rs:13
↓ 1 callers
Method
is_timed_out
(&mut self, cx: &mut Context<'_>)
src/clients/ws/single.rs:235
↓ 1 callers
Method
kind
channel kind (without values)
src/exchanges/traits/ws_channel.rs:25
↓ 1 callers
Method
make_critical
(&mut self, msg: String)
src/exchanges/okex/ws/message.rs:114
↓ 1 callers
Method
make_owned_ws_connection
(self)
src/exchanges/mod.rs:397
↓ 1 callers
Method
matches
(&self, _val: &T)
src/exchanges/traits/filter.rs:13
↓ 1 callers
Method
needs_business_ws
(&self)
src/exchanges/okex/ws/subscription.rs:21
↓ 1 callers
Method
normalize
(self)
src/exchanges/binance/rest_api/endpoints/instruments.rs:21
↓ 1 callers
Method
normalize
(self)
src/exchanges/binance/ws/channels/partial_book_depth.rs:21
↓ 1 callers
Method
normalize
(self)
src/exchanges/binance/ws/channels/diff_depth.rs:34
↓ 1 callers
Method
normalize
(self)
src/exchanges/binance/ws/channels/book_ticker.rs:36
↓ 1 callers
Method
normalize
(self)
src/exchanges/binance/ws/channels/trades.rs:31
↓ 1 callers
Method
normalize
(self)
src/exchanges/coinbase/ws/channels/matches.rs:28
↓ 1 callers
Method
normalize
(self)
src/exchanges/coinbase/ws/channels/ticker.rs:44
↓ 1 callers
Method
normalize
(self)
src/exchanges/kucoin/ws/channels/matches.rs:19
↓ 1 callers
Method
normalize
(self)
src/exchanges/kucoin/ws/channels/ticker.rs:23
↓ 1 callers
Method
normalize
(&self)
src/exchanges/bybit/pairs.rs:19
↓ 1 callers
Method
normalize
(self)
src/exchanges/bybit/ws/channels/orderbook.rs:26
↓ 1 callers
Method
normalize
(self)
src/exchanges/bybit/ws/channels/trades.rs:23
↓ 1 callers
Method
normalize
(self)
src/exchanges/normalized/ws/message.rs:34
↓ 1 callers
Method
normalize
(self)
src/exchanges/okex/rest_api/endpoints/instruments.rs:21
↓ 1 callers
Method
normalize
(self)
src/exchanges/okex/ws/channels/tickers.rs:74
↓ 1 callers
Method
normalize
(self)
src/exchanges/okex/ws/channels/trades.rs:31
↓ 1 callers
Method
normalize_with
(&self, base: &str, quote: &str)
src/exchanges/bybit/pairs.rs:23
↓ 1 callers
Method
parse_for_bad_pair
(&mut self)
src/exchanges/coinbase/ws/message.rs:64
next →
1–100 of 449, ranked by callers