Skip to content
1 viewer

rust 1,865,587 · typescript 236,264 · javascript 133,447 · python 20,429 · 6,423 files · digest 6c224c8775d8 · built in 1.4 s · crystals off

build_spread_legs

cre8_app_capitalstrategy::execution::build_spread_legs

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

66lines
8cyclomatic
2max nesting
22statements
0? exits
2params
3callers
2callees
0.7 (p62)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitename · 3 sitesname · 3 sitesname · 1 sitename · 1 sitename · 4 sitesname · 1 sitename · 1 sitename · 2 sitesname · 2 sitespath · 1 sitename · 2 sitestry_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_openspread_legs_are_all_or_noth…app-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::tests::spread_legs_are_all_or_nothing_and_freshtest_spread_slippage_and_se…app-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::tests::test_spread_slippage_and_sequencingbuild_spread_legsapp-capitalstrategy · cc 8cre8_app_capitalstrategy::execution::build_spread_legslatest_tick_snapshotapp-capitalstrategy · cc 6cre8_app_capitalstrategy::execution::latest_tick_snapshotcanonical_asset_keyapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::canonical_asset_keyquery_ticksapp-provider · cc 1cre8_app_provider::sink::query_ticksis_fresh_observationapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::is_fresh_observationfirst_string_arrayapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::first_string_array

Control flow

Source not readable from this process.

Callers 3

Callees 2

Source not readable from this process.