mango-v4/programs/mango-v4
Christian Kamm 502f0767a8
Adjust avg entry price / break even price computation (#304)
- Don't return result as I80F48, f64 is more honest
- Allow access to avg entry price per base lot without division
- Reset break even price when position changes sign
- Fix occasionally-failing fast division test
- Fix sign of break even price -- it can now be negative if the
  position has broken even.
2022-11-25 09:59:52 +01:00
..
resources/test switchboard support (#67) 2022-06-18 16:38:46 +02:00
src Adjust avg entry price / break even price computation (#304) 2022-11-25 09:59:52 +01:00
tests Implement a stable_price on banks and perp markets (#303) 2022-11-24 11:55:22 +01:00
Cargo.toml Fast I80F48 division with reduced precision (#300) 2022-11-24 11:59:00 +01:00
Xargo.toml First commit 2022-01-21 19:21:46 +01:00