MCPcopy Index your code
hub / github.com/SorellaLabs/cex-exchanges

github.com/SorellaLabs/cex-exchanges @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
606 symbols 960 edges 114 files 21 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Centralized Exchange Interfaces

  • Binance - YES
  • Coinbase - YES
  • Okex - YES
  • BybitSpot - WIP
  • Kucoin - YES

Extension points exported contracts — how you extend this code

Exchange (Interface)
(no doc) [5 implementers]
src/exchanges/mod.rs
CriticalWsMessage (Interface)
(no doc) [5 implementers]
src/clients/ws/critical.rs
ExchangeFilter (Interface)
(no doc) [5 implementers]
src/exchanges/traits/filter.rs
SpecificWsChannel (Interface)
(no doc) [5 implementers]
src/exchanges/traits/ws_channel.rs
SpecificWsBuilder (Interface)
(no doc) [5 implementers]
src/exchanges/traits/ws_builder.rs
SpecificWsSubscription (Interface)
(no doc) [5 implementers]
src/exchanges/traits/ws_subscription.rs

Core symbols most depended-on inside this repo

init_test_tracing
called by 38
tests/utils.rs
normalize
called by 26
src/exchanges/okex/pairs.rs
add_channel
called by 21
src/exchanges/kucoin/ws/subscription.rs
build_many_packed
called by 15
src/exchanges/okex/ws/builder.rs
get_normalized_pair
called by 13
src/exchanges/normalized/types/pairs.rs
with_time
called by 12
src/exchanges/normalized/types/l2.rs
with_first_update_id
called by 12
src/exchanges/normalized/types/l2.rs
pair
called by 11
src/exchanges/normalized/types/pairs.rs

Shape

Method 415
Class 111
Enum 39
Function 34
Interface 7

Languages

Rust100%

Modules by API surface

src/exchanges/normalized/types/pairs.rs18 symbols
tests/ws.rs16 symbols
src/clients/ws/single.rs16 symbols
src/exchanges/normalized/types/instruments.rs14 symbols
src/exchanges/kucoin/ws/subscription.rs14 symbols
src/exchanges/bybit/rest_api/endpoints/instruments.rs14 symbols
src/exchanges/mod.rs13 symbols
src/clients/ws/mutli.rs13 symbols
src/exchanges/normalized/ws/builder.rs12 symbols
src/exchanges/binance/pairs.rs12 symbols
src/exchanges/okex/pairs.rs11 symbols
src/exchanges/bybit/pairs.rs11 symbols

For agents

$ claude mcp add cex-exchanges \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact