Skip to content
1 viewer

rust 1,860,550 · typescript 235,740 · javascript 132,956 · python 20,426 · 6,409 files · digest 3d1ed3bf6fd3 · built in 1.5 s · crystals off

refresh_trade_margin

cre8_app_capitalstrategy::execution::refresh_trade_margin

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

10lines
1cyclomatic
0max nesting
8statements
2? exits
3params
1callers
3callees
0.8 (p71)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 sitename · 1 sitename · 3 sitesname · 1 sitename · 1 sitepath · 1 sitename · 2 sitespath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitemark_to_marketapp-capitalstrategy · cc 8cre8_app_capitalstrategy::execution::mark_to_marketliquidate_open_tradesapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::liquidate_open_tradesoption_legs_mark_by_model_a…app-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::tests::option_legs_mark_by_model_and_margin_trades_record_greeks_and_carryspot_trades_without_margin_…app-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::tests::spot_trades_without_margin_terms_mark_exactly_as_beforeapply_markapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::apply_markrefresh_trade_marginapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::refresh_trade_marginsanitizeapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::sanitizecarry_usdapp-capitalstrategy · cc 4cre8_app_capitalstrategy::margin::carry_usdtrade_greeksapp-capitalstrategy · cc 6cre8_app_capitalstrategy::execution::trade_greeksderivative_termsapp-capitalstrategy · cc 1cre8_app_capitalstrategy::instrument_legs::derivative_termsis_option_legapp-capitalstrategy · cc 1cre8_app_capitalstrategy::instrument_legs::is_option_leglookup_latest_priceapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::lookup_latest_pricesanitizeapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::sanitizerate_ppm_from_fractionutil-options · cc 3cre8_util_options::funding::rate_ppm_from_fractionaccrue_displayutil-options · cc 1cre8_util_options::funding::accrue_displaylinear_leg_delta_usdapp-capitalstrategy · cc 4cre8_app_capitalstrategy::instrument_legs::linear_leg_delta_usdoption_leg_greeksapp-capitalstrategy · cc 6cre8_app_capitalstrategy::instrument_legs::option_leg_greeksadd_greeksapp-capitalstrategy · cc 1cre8_app_capitalstrategy::instrument_legs::add_greeks

Control flow

Source not readable from this process.

Callers 1

Callees 3

Source not readable from this process.