1 viewer
rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off
apply_trade
91lines
12cyclomatic
2max nesting
54statements
23? exits
6params
10callers
10callees
1.2 (p86)call-graph weight
Crystal
no crystal was derived for this function
Call neighbourhood
Callers left, callees right, two hops each way (10 direct callers, 10 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.
Control flow
Source not readable from this process.
Callers 10
- execute app-paper · path
- liquidate app-paper · name
- buys_pay_the_ceiling_and_sells_receive_the_floor app-paper · name ×2
- partial_closes_realize_against_the_removed_basis_and_flips_reopen app-paper · name ×4
- valuation_splits_assets_and_debt_and_gates_leverage app-paper · name ×2
- multi_position_liquidation_price_holds_other_marks_fixed app-paper · name ×2
- funding_settles_whole_intervals_and_carries_the_remainder app-paper · name ×3
- options_settle_in_the_money_and_expire_worthless_out_of_it app-paper · name ×2
- liquidation_closes_every_position_at_its_mark_or_nothing app-paper · name
- reset_restores_the_float_and_logs_it app-paper · name
Callees 10
- Ratio::is_positive util-options · method ×4
- minor_scale app-paper · path
- Ratio::floor_mul util-options · method
- Ratio::checked_abs util-options · method
- Ratio::is_negative util-options · method
- Ratio::checked_div util-options · method
- notional_floor app-paper · name ×2
- notional_ceil app-paper · name ×2
- PaperPosition::new app-paper · path
- reduces_only app-paper · name
Source not readable from this process.