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

preview_slippage_gate

cre8_app_capitalstrategy::execution::preview_slippage_gate

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

26lines
4cyclomatic
1max nesting
11statements
0? exits
4params
1callers
3callees
0.5 (p40)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitename · 1 sitemethod · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepreview_execute_candidateapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::preview_execute_candidatebuild_preview_candidateapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::build_preview_candidatepreview_slippage_gateapp-capitalstrategy · cc 4cre8_app_capitalstrategy::execution::preview_slippage_gatel2_depth_snapshotapp-provider · cc 3cre8_app_provider::sink::l2_depth_snapshotestimate_spread_slippageapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::estimate_spread_slippagespread_buy_sell_legsapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::spread_buy_sell_legsRwLock::read_or_recoverutil-lock-ext · cc 2cre8_util_lock_ext::RwLock::read_or_recoverl2_depthapp-provider · cc 1cre8_app_provider::sink::l2_depthSpreadSlippageReference::newapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::SpreadSlippageReference::newspread_depth_unavailableapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::spread_depth_unavailableattributed_spread_levelsapp-capitalstrategy · cc 4cre8_app_capitalstrategy::execution::attributed_spread_levelsspread_average_fill_pricesapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::spread_average_fill_pricesspread_slippage_fractionapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::spread_slippage_fraction

Control flow

Source not readable from this process.

Callers 1

Callees 3

Source not readable from this process.