oceanprotocol / pdr-backend

Instructions & code to run predictoors, traders, more.
Apache License 2.0
22 stars 15 forks source link

Feat #1202 - Fetch stake and accuracy per feed from live feeds #1295

Open trizin opened 3 days ago

trizin commented 3 days ago

1298

KatunaNorbert commented 3 days ago

Good quick solution for calculating this 2 values, should offer much accurate environment for predictoor simulations. My only comment is that the periods for calculating this values inside the accuracy endpoint are fixed, so this could become less relevant depending on the period you are running your simulations on. Ex: for 5m fields the accuracy and stakes are calculated over the last week, but the simulation could be run over the last month