terra-revival / backtest

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

#35 New design with tests for number validation #36

Closed faffyswap closed 11 months ago

faffyswap commented 11 months ago

Testing

pytest tests -v

image

It's failing due to a difference in tx fees but its fine we'll change that later, the diff is fully understandood / explained

You are arbing the pool, pool mid_price starts @ 30_000 USD (3_000_000/100) and after arb trade, ends @ 31_000 USD which is the market price so we are happy

Test Results (using Docker)

image