Skip to content
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

gross_limit_usd

cre8_app_capitalstrategy::margin::gross_limit_usd

fn · cre8-app-capitalstrategy · crates/cre8-app-capitalstrategy/src/margin.rs:123 pub documented

8lines
2cyclomatic
1max nesting
2statements
0? exits
2params
5callers
2callees
2 (p94)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitename · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 2 sitesname · 1 sitename · 1 sitemethod · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 3 sitesname · 2 sitesmethod · 1 sitepath · 1 sitetry_execute_candidate_with_…app-capitalstrategy · cc 11cre8_app_capitalstrategy::execution::try_execute_candidate_with_mandate_bindinglive_capital_pool_usdapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::live_capital_pool_usdrisk_limit_evidenceapp-capitalstrategy · cc 6cre8_app_capitalstrategy::advisor::risk_limit_evidencebuild_preview_candidateapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::build_preview_candidatedefault_config_is_cash_mode…app-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::tests::default_config_is_cash_mode_and_reproduces_the_wallet_gateobserver_tracks_open_gross_…app-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::tests::observer_tracks_open_gross_and_releases_on_closecapital_pool_usdapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::capital_pool_usdsolvency_checkapp-capitalstrategy · cc 4cre8_app_capitalstrategy::margin::solvency_checkstatus_jsonapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::status_jsonpush_preview_margin_gateapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::push_preview_margin_gateleverage_scales_the_gross_l…app-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::tests::leverage_scales_the_gross_limit_and_the_cap_bindsgross_limit_usdapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::gross_limit_usdMarginParams::leverageapp-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::MarginParams::leveragemax_position_valueutil-options · cc 5cre8_util_options::margin::max_position_value

Control flow

Source not readable from this process.

Callers 5

Callees 2

Source not readable from this process.