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

resolve_trade_open

cre8_app_capitalstrategy::execution::resolve_trade_open

fn · cre8-app-capitalstrategy · crates/cre8-app-capitalstrategy/src/execution.rs:1515

31lines
6cyclomatic
1max nesting
9statements
0? exits
4params
4callers
10callees
0.8 (p65)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 3 sitesname · 3 sitesname · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 2 sitesname · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 3 sitestry_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_candidatepreview_execute_candidateapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::preview_execute_candidatetry_execute_candidate_with_…app-capitalstrategy · cc 11cre8_app_capitalstrategy::execution::try_execute_candidate_with_mandate_bindingbuild_preview_candidateapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::build_preview_candidatenegative_ev_goes_short_only…app-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::tests::negative_ev_goes_short_only_when_shorts_are_allowedleg_plans_price_options_and…app-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::tests::leg_plans_price_options_and_perps_and_are_all_or_nothingresolve_trade_openapp-capitalstrategy · cc 6cre8_app_capitalstrategy::execution::resolve_trade_opencanonical_asset_keyapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::canonical_asset_keybuild_directional_legsapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::build_directional_legsbuild_spread_legsapp-capitalstrategy · cc 8cre8_app_capitalstrategy::execution::build_spread_legsdirectional_sideapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::directional_sideadd_fallback_directional_legapp-capitalstrategy · cc 4cre8_app_capitalstrategy::execution::add_fallback_directional_legtrade_entry_prices_and_orig…app-capitalstrategy · cc 6cre8_app_capitalstrategy::execution::trade_entry_prices_and_originbuild_portfolio_legsapp-capitalstrategy · cc 4cre8_app_capitalstrategy::execution::build_portfolio_legsnormalize_leg_weightsapp-capitalstrategy · cc 5cre8_app_capitalstrategy::execution::normalize_leg_weightshas_leg_planapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::planned_legs::has_leg_planbuild_planned_legsapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::planned_legs::build_planned_legsderivative_termsapp-capitalstrategy · cc 1cre8_app_capitalstrategy::instrument_legs::derivative_termslatest_entry_snapshotapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::latest_entry_snapshotlatest_tick_snapshotapp-capitalstrategy · cc 6cre8_app_capitalstrategy::execution::latest_tick_snapshotstring_array_from_valueapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::string_array_from_valuefirst_string_arrayapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::first_string_arrayplan_legapp-capitalstrategy · cc 8cre8_app_capitalstrategy::execution::planned_legs::plan_legcandidate_asset_listapp-capitalstrategy · cc 5cre8_app_capitalstrategy::execution::candidate_asset_list

Control flow

Source not readable from this process.

Callers 4

Callees 10

Source not readable from this process.