Can you tell at what time exactly where you trying to call these feeds?
I assume the market was closed and Pyth feeds follow traditional market hours for now: https://docs.pyth.network/price-feeds/market-hours
Adding to the Marc’s answer above, the scheduler will not be able to update the prices during off market hours.
Scheduler uses updatePriceFeedsIfNecessary, which only updates if there is a fresh update available.
Hey @KemarTiti yeah initially I was querying the price before market opened, but if I query now, after the market has opened i still get the stale price error.
ok thank you will look into it, one question, doesn’t pyth protocol run schedulers for these equities, and if so can they update the above mentioned equities periodically.
This is the command I’m using to run the price pusher :
``
pnpm run start evm --endpoint wss://base-mainnet.g.alchemy.com/v2/ --pyth-contract-address 0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a --price-service-endpoint https://hermes.pyth.network --price-config-file ./price-config.stable.sample.yaml --mnemonic-file ./mnemonic.txt --pushing-frequency 30 --polling-frequency 5 --override-gas-price-multiplier 1.1
`
But in the logs I see no price update being pushed
``
{“level”:30,“time”:1758874244083,“pid”:11109,“hostname”:“Mac.lan”,“module”:“EvmPriceListener”,“msg”:“Watching target network pyth contract events…”}
{“level”:30,“time”:1758874274396,“pid”:11109,“hostname”:“Mac.lan”,“module”:“Controller”,“msg”:“GME/USD (6f9cd89ef1b7fd39f667101a91ad578b6c6ace4579d5f7f285a4b06aa4504be6) is not available on the source network. Ignoring it.”}
{“level”:30,“time”:1758874274396,“pid”:11109,“hostname”:“Mac.lan”,“module”:“Controller”,“msg”:“None of the checks were triggered. No push needed.”}
{“level”:30,“time”:1758874304397,“pid”:11109,“hostname”:“Mac.lan”,“module”:“Controller”,“msg”:“GME/USD (6f9cd89ef1b7fd39f667101a91ad578b6c6ace4579d5f7f285a4b06aa4504be6) is not available on the source network. Ignoring it.”}
{“level”:30,“time”:1758874304398,“pid”:11109,“hostname”:“Mac.lan”,“module”:“Controller”,“msg”:“None of the checks were triggered. No push needed.”}
{“level”:30,“time”:1758874334400,“pid”:11109,“hostname”:“Mac.lan”,“module”:“Controller”,“msg”:“GME/USD (6f9cd89ef1b7fd39f667101a91ad578b6c6ace4579d5f7f285a4b06aa4504be6) is not available on the source network. Ignoring it.”}
{“level”:30,“time”:1758874334400,“pid”:11109,“hostname”:“Mac.lan”,“module”:“Controller”,“msg”:“None of the checks were triggered. No push needed.”}
{“level”:30,“time”:1758874364401,“pid”:11109,“hostname”:“Mac.lan”,“module”:“Controller”,“msg”:“GME/USD (6f9cd89ef1b7fd39f667101a91ad578b6c6ace4579d5f7f285a4b06aa4504be6) is not available on the source network. Ignoring it.”}
{“level”:30,“time”:1758874364402,“pid”:11109,“hostname”:“Mac.lan”,“module”:“Controller”,“msg”:“None of the checks were triggered. No push needed.”}
``
I was able to sort the issue, I was trying to running the price pusher for some equities, like TSLA, GME etc. But the pusher wasnt updating it, because it was looking for a price not older than 60seconds, I did some changes and was able to sort it thanks.