Formulas extracted from functions getEaEb() and getOptimalAmount().
[btw, python should have snake case naming, pls contain the pokemon syntax disease inside JS ecosystem]
opt_in: 18370234838.05
amnz out: 6468318502.5644455
amnz out: 8449160071.675033
profitz: -9921074766.375118
[!!] verifying +
if amounts were higher by 1000, the profits should be less!
profits are...
...-9921075695.435955
[!!] verifying -
if amounts were lower by 1000, the profits should be less!
profits are...
...-9921073837.31429
Formulas extracted from functions
getEaEb()
andgetOptimalAmount()
. [btw, python should have snake case naming, pls contain the pokemon syntax disease inside JS ecosystem]Output: