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
Ratio::from_integer
3lines
1cyclomatic
0max nesting
1statements
0? exits
1params
55callers
0callees
9.3 (p100)call-graph weight
Crystal
no crystal was derived for this function
Call neighbourhood
Callers left, callees right, two hops each way (55 direct callers, 0 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.
Control flow
Source not readable from this process.
Callers 55
- Ratio::checked_mul_int util-options · path
- build_account app-paper · path ×2
- account app-paper · path
- order app-paper · path
- ratio app-derivatives · path
- account app-paper · path
- RouteConfig::from_env app-paper · path
- internal_levels app-paper · path
- RouteConfig::default app-paper · path
- pair_records_persist_and_keep_a_capped_history app-mark · path
- manual_and_vol_records_validate app-mark · path ×2
- option_ids_parse_back_into_terms app-mark · path
- the_newest_clear_wins app-mark · path
- derivation_ignores_multi_asset_positions_and_non_positive_legs app-mark · path
- a_fresh_manual_mark_outranks_a_fresh_clear_and_a_stale_one_does_not app-mark · path ×4
- with_nothing_fresh_the_newest_evidence_is_returned_flagged_stale app-mark · path
- selection_never_returns_a_non_positive_price app-mark · path
- refresh_persists_tracked_pairs_and_discovers_traded_ones app-mark · path ×2
- the_exchange_heartbeat_refreshes_tracked_pairs app-mark · path
- options_get_a_theoretical_mark_from_the_underlier_and_a_stored_vol app-mark · path
- the_tape_mid_prices_spot_against_a_usd_numeraire_and_is_labelled_external app-mark · path
- a_venue_implied_vol_prices_an_option_when_none_is_stored_for_it app-mark · path
- accounts_validate_float_leverage_and_maintenance app-paper · path
- buys_pay_the_ceiling_and_sells_receive_the_floor app-paper · path ×2
- partial_closes_realize_against_the_removed_basis_and_flips_reopen app-paper · path ×11
- valuation_splits_assets_and_debt_and_gates_leverage app-paper · path ×6
- multi_position_liquidation_price_holds_other_marks_fixed app-paper · path ×6
- funding_settles_whole_intervals_and_carries_the_remainder app-paper · path ×9
- options_settle_in_the_money_and_expire_worthless_out_of_it app-paper · path ×9
- liquidation_closes_every_position_at_its_mark_or_nothing app-paper · path ×3
- reset_restores_the_float_and_logs_it app-paper · path ×2
- cre8_ids_are_internal_spot_or_option app-paper · path
- venue_ids_classify_by_the_venues_naming app-paper · path
- accounts_orders_and_fills_persist_and_list_per_account app-paper · path ×2
- labels_render_exact_decimals app-paper · path
- widening_moves_against_the_taker_exactly app-paper · path
- internal_levels_take_best_prices_and_skip_observations app-paper · path ×3
- a_market_buy_walks_the_venue_depth app-paper · path
- a_limit_order_rests_then_fills_on_the_heartbeat app-paper · path ×2
- leverage_over_the_cap_is_refused_and_a_mark_drop_liquidates app-paper · path ×2
- an_unpriced_holding_is_never_liquidated app-paper · path
- perpetual_funding_accrues_from_the_venue_rate app-paper · path
- an_option_expiring_in_the_money_cash_settles_at_the_mark app-paper · path ×2
- only_the_owner_trades_an_owned_account app-paper · path
- venue_routing_refuses_before_any_io_unless_every_gate_passes app-paper · path
- maintenance_is_exact_at_the_boundary util-options · path
- Ratio::from util-options · path
- Ratio::from util-options · path
- normalizes_sign_and_factors util-options · path
- arithmetic_is_exact util-options · path
- overflow_is_refused_not_wrapped util-options · path ×2
- floor_and_ceil_mul_are_exact_at_256_bits util-options · path
- decimal_and_float_conversions util-options · path ×2
- overflow_is_refused util-options · path ×2
- far_out_of_band_futures_still_settle util-options · path ×2
Callees 0
Source not readable from this process.