Skip to content
1 viewer

rust 1,880,524 · typescript 232,735 · javascript 134,853 · python 22,539 · 6,529 files · digest 0753164a9f64 · built in 15.6 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
16callers
1callees
3.7 (p98)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 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 · 3 sitesname · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitetrade_log_snapshotapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::trade_log_snapshottrade_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_fast_pathapp-capitalstrategy · cc 2cre8_app_capitalstrategy::init::run_fast_pathrun_strategy_execution_acti…app-capitalstrategy · cc 33cre8_app_capitalstrategy::connection::run_strategy_execution_actionhandle_trade_actionapp-capitalstrategy · cc 3cre8_app_capitalstrategy::init::handle_trade_actionrestore_tradesapp-capitalstrategy · cc 2cre8_app_capitalstrategy::store::restore_tradesbot_status_jsonapp-capitalstrategy · cc 3cre8_app_capitalstrategy::strategy_lanes::bot_status_jsontry_execute_candidate_with_…app-capitalstrategy · cc 11cre8_app_capitalstrategy::execution::try_execute_candidate_with_mandate_bindingbuild_trade_logapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::build_trade_logmark_to_marketapp-capitalstrategy · cc 8cre8_app_capitalstrategy::execution::mark_to_marketreset_execution_stateapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::tests::reset_execution_statehalt_statusapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::halt_statuspreview_execute_candidateapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::preview_execute_candidaterehydrate_tradesapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::rehydrate_tradesupdate_configapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::update_configresume_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_effectstest_spread_slippage_and_se…app-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::tests::test_spread_slippage_and_sequencingstateapp-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 16

Callees 1

Source not readable from this process.