terra-revival / backtest

Python backtesting engine for USTC or any Terra Classic Stable Algos
Other
6 stars 2 forks source link

Implement softpeg raises #27

Open Kyjaque opened 11 months ago

Kyjaque commented 11 months ago

we need to implement softpeg raises for the simulations. 2 candidates - time based and average price based any suggestions on other logic are welcome

Spawn-666 commented 10 months ago

There would be another logic -> Collateralization based

Peg USTC to the current price (and create reserves), when USTC is overcollaterized and reaches 110% Collateralization, raise the peg until it hits 100% and let it build reserves so it will 110% again.

With this logic, there should be enough liquidity to withstand a bankrun.

But it is important to spread the collateralization to as many coins as possible. Other Stablecoins would be preferable.