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

state

cre8_app_capitalstrategy::execution::state

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

3lines
1cyclomatic
0max nesting
1statements
0? exits
0params
18callers
1callees
4.5 (p99)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 siteref · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 3 sitesname · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitetrade_log_snapshotapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::trade_log_snapshotcompute_plan_with_envelope_…app-capitalstrategy · cc 11cre8_app_capitalstrategy::decide::compute_plan_with_envelope_innertrade_logapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::trade_logtry_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_executeapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::preview_executerun_strategy_execution_acti…app-capitalstrategy · cc 33cre8_app_capitalstrategy::connection::run_strategy_execution_actionrun_fast_pathapp-capitalstrategy · cc 2cre8_app_capitalstrategy::init::run_fast_pathhandle_trade_actionapp-capitalstrategy · cc 3cre8_app_capitalstrategy::init::handle_trade_actionrestore_tradesapp-capitalstrategy · cc 2cre8_app_capitalstrategy::store::restore_tradesbuild_trade_logapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::build_trade_logtry_execute_candidate_with_…app-capitalstrategy · cc 11cre8_app_capitalstrategy::execution::try_execute_candidate_with_mandate_bindingmark_to_marketapp-capitalstrategy · cc 8cre8_app_capitalstrategy::execution::mark_to_marketreset_execution_stateapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::tests::reset_execution_stateshorts_allowedapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::shorts_allowedhalt_statusapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::halt_statuspreview_execute_candidateapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::preview_execute_candidateupdate_configapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::update_configrehydrate_tradesapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::rehydrate_tradesresume_tradingapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::resume_tradingliquidate_open_tradesapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::liquidate_open_tradeshalt_tradingapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::halt_tradingunmarkable_matured_trade_ex…app-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::tests::unmarkable_matured_trade_expires_without_realized_pnlplan_bound_budget_and_trade…app-capitalstrategy · cc 5cre8_app_capitalstrategy::execution::tests::plan_bound_budget_and_trade_spec_drive_execution_and_close_side_effectsstateapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::stateExecutionState::defaultapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::ExecutionState::defaultconfigapp-capitalstrategy · cc 1cre8_app_capitalstrategy::config::configexecution_config_from_envapp-capitalstrategy · cc 9cre8_app_capitalstrategy::execution::execution_config_from_envset_paramsapp-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::set_params

Control flow

Source not readable from this process.

Callers 18

Callees 1

Source not readable from this process.