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

MarginParams::from_config

cre8_app_capitalstrategy::margin::MarginParams::from_config

method · cre8-app-capitalstrategy · crates/cre8-app-capitalstrategy/src/margin.rs:70 pub

11lines
2cyclomatic
0max nesting
1statements
0? exits
1params
7callers
1callees
2.8 (p97)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitename · 1 sitepath · 1 sitename · 1 sitepath · 1 sitename · 2 sitespath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 siteself · 1 sitepath · 1 sitename · 3 sitesExecutionState::defaultapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::ExecutionState::defaultprofitability_evidenceapp-capitalstrategy · cc 46cre8_app_capitalstrategy::advisor::profitability_evidenceparamsapp-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::paramstry_execute_with_optional_m…app-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::try_execute_with_optional_mandate_bindingtry_execute_candidateapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::try_execute_candidateupdate_configapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::update_configbuild_preview_candidateapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::build_preview_candidatereset_for_testsapp-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::reset_for_testsdefault_config_is_cash_mode…app-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::tests::default_config_is_cash_mode_and_reproduces_the_wallet_gateleverage_scales_the_gross_l…app-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::tests::leverage_scales_the_gross_limit_and_the_cap_bindstry_execute_candidate_with_…app-capitalstrategy · cc 11cre8_app_capitalstrategy::execution::try_execute_candidate_with_mandate_bindingset_paramsapp-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::set_paramsparams_slotapp-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::params_slotmargin_paramsapp-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::tests::margin_paramsrisk_limit_evidenceapp-capitalstrategy · cc 6cre8_app_capitalstrategy::advisor::risk_limit_evidenceMarginParams::defaultapp-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::MarginParams::defaultpush_preview_margin_gateapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::push_preview_margin_gateMarginParams::from_configapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::MarginParams::from_configfinite_non_negativeapp-capitalstrategy · cc 3cre8_app_capitalstrategy::margin::finite_non_negative

Control flow

Source not readable from this process.

Callers 7

Callees 1

Source not readable from this process.