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

lookup_latest_observation

cre8_app_capitalstrategy::execution::lookup_latest_observation

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

59lines
5cyclomatic
3max nesting
11statements
1? exits
5params
4callers
2callees
2.3 (p96)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 2 sitesname · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 2 sitesname · 1 sitename · 1 sitename · 3 sitesweighted_leg_returnapp-capitalstrategy · cc 6cre8_app_capitalstrategy::execution::weighted_leg_returnentry_price_returnapp-capitalstrategy · cc 5cre8_app_capitalstrategy::execution::entry_price_returntrade_greeksapp-capitalstrategy · cc 6cre8_app_capitalstrategy::execution::trade_greeksclose_marked_tradeapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::close_marked_tradefreshness_rejects_future_ob…app-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::tests::freshness_rejects_future_observationstrade_return_requires_fresh…app-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::tests::trade_return_requires_fresh_full_leg_coveragecompute_leg_fills_falls_bac…app-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::tests::compute_leg_fills_falls_back_to_entry_priceslookup_latest_priceapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::lookup_latest_pricecompute_leg_fillsapp-capitalstrategy · cc 8cre8_app_capitalstrategy::execution::compute_leg_fillsleg_observationapp-capitalstrategy · cc 5cre8_app_capitalstrategy::execution::planned_legs::leg_observationlookup_latest_price_rejects…app-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::tests::lookup_latest_price_rejects_stale_global_fallbacklookup_latest_observationapp-capitalstrategy · cc 5cre8_app_capitalstrategy::execution::lookup_latest_observationis_fresh_observationapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::is_fresh_observationprovider_freshness_windowapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::provider_freshness_window

Control flow

Source not readable from this process.

Callers 4

Callees 2

Source not readable from this process.