Dual-Finance / risk-manager

Risk management for Dual Finance protocol DIP positions
MIT License
12 stars 4 forks source link

Cleanup in scalper_utils #222

Closed brittcyr closed 1 year ago

brittcyr commented 1 year ago

Rename getSpotDelta to make it clear that it is not all spot delta Rename liquidityCheckAndNumSplices to make it clear that it only applies to openBook Comment changes Remove dead code Make the decimalsBaseSPL switch statement fail if new tokens are added but not updated Use openBook mid price in line 403