rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-provider/src/derivatives/poll.rs
Items
const MIN_INTERVAL_SECS const DEFAULT_INTERVAL_SECS const DEFAULT_VENUES const DEFAULT_UNDERLIERS const DEFAULT_CATALOG_EVERY_POLLS const POLLED_VENUES const MAX_UNDERLIERS const DERIBIT_BOOK_SUMMARY_URL const BINANCE_PREMIUM_INDEX_URL const BINANCE_OPEN_INTEREST_URL const OKX_MARK_PRICE_URL const OKX_TICKERS_URL const OKX_FUNDING_RATE_URL const OKX_OPT_SUMMARY_URL const OKX_OPEN_INTEREST_URL type Fetch struct DerivativesPollConfig impl DerivativesPollConfig struct VenueOutcome impl VenueOutcome struct VenuePollState struct DerivativesPollStatus struct PollerHandle static POLLER struct CatalogRefreshState static REFRESHES
Functions
By call-graph weight (PageRank; 1.0 is the average function). 26 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| poll_venuesrc/derivatives/poll.rs:271 | fn | 13 | 6 | 3 | 5 | 1.3 | |
| DerivativesPollConfig::newsrc/derivatives/poll.rs:82 | method | 36 | 8 | 2 | 0 | 1 | |
| pollersrc/derivatives/poll.rs:414 | fn | 3 | 1 | 3 | 0 | 1 | |
| is_unavailable_errorsrc/derivatives/poll.rs:190 | fn | 3 | 2 | 2 | 0 | 1 | |
| VenueOutcome::take_quotessrc/derivatives/poll.rs:180 | method | 6 | 2 | 3 | 0 | 0.9 | |
| followssrc/derivatives/poll.rs:194 | fn | 3 | 1 | 3 | 0 | 0.9 | |
| VenueOutcome::newsrc/derivatives/poll.rs:144 | method | 3 | 1 | 3 | 0 | 0.9 | |
| snapshotssrc/derivatives/poll.rs:357 | fn | 21 | 2 | 3 | 3 | 0.9 | |
| fetch_catalogssrc/derivatives/poll.rs:225 | fn | 43 | 10 | 2 | 8 | 0.8 | |
| refreshessrc/derivatives/poll.rs:587 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| poll_deribitsrc/derivatives/poll.rs:285 | fn | 10 | 3 | 1 | 3 | 0.7 | |
| poll_binance_futuressrc/derivatives/poll.rs:296 | fn | 19 | 3 | 1 | 4 | 0.7 | |
| poll_okxsrc/derivatives/poll.rs:316 | fn | 38 | 4 | 1 | 7 | 0.7 | |
| http_fetchsrc/derivatives/poll.rs:64 | fn | 4 | 1 | 2 | 0 | 0.6 | |
| DerivativesPollConfig::env_interval_secssrc/derivatives/poll.rs:120 | method | 7 | 1 | 1 | 1 | 0.6 | |
| poller_loopsrc/derivatives/poll.rs:477 | fn | 41 | 9 | 1 | 6 | 0.6 | |
| run_cyclesrc/derivatives/poll.rs:522 | fn | 24 | 4 | 1 | 6 | 0.6 | |
| apply_outcomesrc/derivatives/poll.rs:547 | fn | 22 | 6 | 1 | 0 | 0.6 | |
| split_urlsrc/derivatives/poll.rs:199 | fn | 11 | 1 | 1 | 0 | 0.6 | |
| catalog_underlier_paramsrc/derivatives/poll.rs:212 | fn | 9 | 4 | 1 | 0 | 0.6 | |
| VenueOutcome::fetchsrc/derivatives/poll.rs:150 | method | 29 | 4 | 0 | 1 | 0.5 | |
| start_pollersrc/derivatives/poll.rs:420 | fn | 38 | 3 | 0 | 5 | 0.5 | |
| stop_pollersrc/derivatives/poll.rs:460 | fn | 11 | 2 | 0 | 2 | 0.5 | |
| poller_statussrc/derivatives/poll.rs:472 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| spawn_catalog_refreshsrc/derivatives/poll.rs:595 | fn | 73 | 11 | 0 | 9 | 0.5 | |
| catalog_refresh_statessrc/derivatives/poll.rs:669 | fn | 3 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.