1 viewer
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-paper/src/pricing.rs
Items
const FLOAT_PRICE_DECIMALS const DEFAULT_FUNDING_INTERVAL_MS const BPS struct PaperMark impl PaperMark struct FillQuote struct BookLevel struct FundingTerms
Functions
By call-graph weight (PageRank; 1.0 is the average function). 32 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ratio_from_f64src/pricing.rs:83 | fn | 6 | 3 | 7 | 2 | 2 | |
| widensrc/pricing.rs:95 | fn | 8 | 2 | 5 | 2 | 1.1 | |
| mark_positionsrc/pricing.rs:625 | fn | 60 | 6 | 1 | 9 | 1 | |
| venue_value_in_quotesrc/pricing.rs:240 | fn | 15 | 7 | 3 | 0 | 0.9 | |
| venue_contract_sizesrc/pricing.rs:258 | fn | 15 | 4 | 4 | 1 | 0.9 | |
| agesrc/pricing.rs:104 | fn | 3 | 1 | 3 | 0 | 0.8 | |
| ms_from_u64src/pricing.rs:108 | fn | 3 | 1 | 3 | 0 | 0.8 | |
| quote_fillsrc/pricing.rs:587 | fn | 36 | 8 | 2 | 10 | 0.8 | |
| newest_ticksrc/pricing.rs:126 | fn | 6 | 1 | 2 | 1 | 0.7 | |
| internal_levelssrc/pricing.rs:369 | fn | 42 | 11 | 2 | 3 | 0.7 | |
| sweep_levelssrc/pricing.rs:413 | fn | 20 | 4 | 2 | 2 | 0.7 | |
| venue_depth_rowsrc/pricing.rs:114 | fn | 11 | 4 | 2 | 1 | 0.7 | |
| mark_positionssrc/pricing.rs:687 | fn | 15 | 1 | 3 | 1 | 0.6 | |
| derivative_fillsrc/pricing.rs:274 | fn | 51 | 5 | 2 | 4 | 0.6 | |
| tick_midsrc/pricing.rs:133 | fn | 9 | 4 | 1 | 0 | 0.6 | |
| positionsrc/pricing.rs:777 | fn | 16 | 1 | 1 | 1 | 0.6 | |
| depth_fillsrc/pricing.rs:143 | fn | 50 | 3 | 1 | 6 | 0.6 | |
| tick_fillsrc/pricing.rs:194 | fn | 41 | 5 | 1 | 5 | 0.6 | |
| internal_book_fillsrc/pricing.rs:434 | fn | 44 | 3 | 1 | 5 | 0.6 | |
| mark_fillsrc/pricing.rs:479 | fn | 31 | 1 | 1 | 3 | 0.6 | |
| internal_option_fillsrc/pricing.rs:525 | fn | 57 | 3 | 1 | 9 | 0.6 | |
| venue_option_for_termssrc/pricing.rs:328 | fn | 27 | 4 | 1 | 3 | 0.5 | |
| option_sigmasrc/pricing.rs:513 | fn | 11 | 1 | 1 | 2 | 0.5 | |
| underlier_marksrc/pricing.rs:705 | fn | 31 | 3 | 1 | 3 | 0.5 | |
| funding_termssrc/pricing.rs:746 | fn | 16 | 4 | 1 | 2 | 0.5 | |
| PaperMark::freshsrc/pricing.rs:67 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ratio_textsrc/pricing.rs:90 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| venue_option_contract_sizesrc/pricing.rs:765 | fn | 6 | 3 | 0 | 3 | 0.5 | |
| widening_moves_against_the_taker_exactlysrc/pricing.rs:795 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| internal_levels_take_best_prices_and_skip_observationssrc/pricing.rs:803 | fn | 22 | 1 | 0 | 5 | 0.5 | |
| underlier_quoted_premiums_convert_at_the_indexsrc/pricing.rs:827 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| contract_sizes_in_another_asset_are_refusedsrc/pricing.rs:843 | fn | 9 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.