I am building a contract that needs to fetch diverse moving averages such as 10 days and 100 days.
From reading documentation this was not explicit, I think you have this feature , I am not seeing how to ask for the “x days” input.
I am building a contract that needs to fetch diverse moving averages such as 10 days and 100 days.
From reading documentation this was not explicit, I think you have this feature , I am not seeing how to ask for the “x days” input.
We have EMA (Exponential Moving Average) prices that you can retrieve from Hermes and can be consumed on-chain.
and again I am building an ethereum smart contract hermes sdk is invalid to help me
How many days is that EMA using? The docs are unsuficient
We currently have EMA for one hour only.
If you want to use that, you have to fetch price data from Hermes, update that on chain, if you want to consume it onchain.