mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-30 11:23:20 +08:00
Instead of having two leverage functions, whose differences were the parameter names, add a `calc_leverage` function, with the calling code determining whether it is gross or net by the type of exposure passed in.