1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off
crates/cre8-app-capitalstrategy/src/replay_accounting.rs
Items
const INITIAL_USD const NOTIONAL_USD const MAX_POSITIONS const DRAWDOWN_LIMIT struct AccountPoint struct AccountReport struct Position struct Account impl Account
Functions
By call-graph weight (PageRank; 1.0 is the average function). 7 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Account::newsrc/replay_accounting.rs:62 | method | 31 | 1 | 6 | 0 | 1.5 | |
| Account::marksrc/replay_accounting.rs:95 | method | 38 | 4 | 7 | 0 | 1.2 | |
| Account::decidesrc/replay_accounting.rs:134 | method | 22 | 4 | 6 | 0 | 1 | |
| Account::finishsrc/replay_accounting.rs:157 | method | 12 | 2 | 0 | 0 | 0.5 | |
| replay_account_settles_once_and_charges_cost_oncesrc/replay_accounting.rs:175 | fn | 17 | 1 | 0 | 4 | 0.5 | |
| replay_account_caps_overlap_and_latches_drawdownsrc/replay_accounting.rs:193 | fn | 16 | 2 | 0 | 4 | 0.5 | |
| replay_account_short_and_cash_admissionsrc/replay_accounting.rs:210 | fn | 12 | 1 | 0 | 4 | 0.5 |
Source not readable from this process.