Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

compute_continuous_allocation

cre8_app_capitalstrategy::allocator::compute_continuous_allocation

fn · cre8-app-capitalstrategy · crates/cre8-app-capitalstrategy/src/allocator.rs:320 pub documented

164lines
12cyclomatic
2max nesting
62statements
0? exits
1params
3callers
7callees
0.9 (p74)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (3 direct callers, 7 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

path · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 8 sitespath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitemethod · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 2 sitesname · 1 sitepath · 1 sitename · 1 sitecompute_plan_with_envelope_…app-capitalstrategy · cc 10cre8_app_capitalstrategy::decide::compute_plan_with_envelope_innercompute_allocation_with_str…app-capitalstrategy · cc 2cre8_app_capitalstrategy::allocator::compute_allocation_with_strategyallocation_respects_open_ca…app-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::tests::allocation_respects_open_capital_across_multiple_firesstrongest_rate_can_receive_…app-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::tests::strongest_rate_can_receive_double_base_notionalcompute_continuous_allocati…app-capitalstrategy · cc 12cre8_app_capitalstrategy::allocator::compute_continuous_allocationnow_msplatform-time · cc 1cre8_platform_time::now_mshorizon_bucket_nameapp-capitalstrategy · cc 7cre8_app_capitalstrategy::solver::horizon_bucket_nameparamsapp-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::paramstotal_capitalapp-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::total_capitalactive_snapshotapp-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::active_snapshotadaptive_capital_per_oppapp-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::adaptive_capital_per_oppsanitizeapp-capitalstrategy · cc 2cre8_app_capitalstrategy::allocator::sanitizeRwLock::read_or_recoverutil-lock-ext · cc 2cre8_util_lock_ext::RwLock::read_or_recoverconfigapp-capitalstrategy · cc 1cre8_app_capitalstrategy::config::configstateapp-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::stateparams_slotapp-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::params_slotlive_capital_pool_usdapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::live_capital_pool_usdforecast_multiplier_with_en…app-capitalstrategy · cc 3cre8_app_capitalstrategy::allocator::forecast_multiplier_with_enabledcapital_per_opp_from_multip…app-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::capital_per_opp_from_multipliersadaptive_multiplier_with_en…app-capitalstrategy · cc 3cre8_app_capitalstrategy::allocator::adaptive_multiplier_with_enabled

Control flow

Source not readable from this process.

Callers 3

Callees 7

Source not readable from this process.