DistributedCollective / oracle-based-amm

Other
12 stars 5 forks source link

Sometimes the "earnings" are not incentivizing the arbitrage in the right path #24

Closed jjmr007 closed 3 years ago

jjmr007 commented 3 years ago

For example, in this moment (April, 3rd, 2021, 3:40 pm GMT+4) the imbalances that the UI shows, implies that the USDT/BTC requieres arbitrage supplying USDT, and extracting rBTC Imbalances

But at quering the API the "earnings" supplying USDT in exchange for rBTC are NEGATIVE backend ...

Same with BPRO pool.

This is not a problem of the database code, but from the contract's code.

jjmr007 commented 3 years ago

Checking the prices, and all seems OK. Likely it is the API backend which need to be fixed message.txt