Skip to content
1 viewer

rust 1,863,595 · typescript 235,976 · javascript 133,240 · python 20,426 · 6,417 files · digest b3b8c6dd2bb2 · built in 2.5 s · crystals off

trade_greeks

cre8_app_capitalstrategy::execution::trade_greeks

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

23lines
6cyclomatic
3max nesting
13statements
2? exits
3params
1callers
6callees
0.7 (p64)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitemethod · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitemethod · 1 sitepath · 1 siteapply_markapp-capitalstrategy · cc 2cre8_app_capitalstrategy::execution::apply_markrefresh_trade_marginapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::refresh_trade_margintrade_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_pricelinear_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_greekslookup_latest_observationapp-capitalstrategy · cc 5cre8_app_capitalstrategy::execution::lookup_latest_observationInstrumentKind::is_optionapp-capitalstrategy-model · cc 1cre8_app_capitalstrategy_model::InstrumentKind::is_optiongreeksutil-options · cc 7cre8_util_options::bsm::greeksoption_rightapp-capitalstrategy · cc 3cre8_app_capitalstrategy::instrument_legs::option_rightyears_untilapp-capitalstrategy · cc 1cre8_app_capitalstrategy::instrument_legs::years_untilGreeks::scaledutil-options · cc 1cre8_util_options::bsm::Greeks::scaled

Control flow

Source not readable from this process.

Callers 1

Callees 6

Source not readable from this process.