Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.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:665

26lines
4cyclomatic
1max nesting
11statements
0? exits
4params
1callers
3callees
0.5 (p39)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 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_candidatea_trade_facing_an_open_trad…app-capitalstrategy · cc 6cre8_app_capitalstrategy::execution::tests::a_trade_facing_an_open_trade_on_the_same_asset_is_refusedbuild_preview_candidateapp-capitalstrategy · cc 5cre8_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.