Are prices in the contract updated automatically at regular intervals, or fetched only when needed?
With pull-based on-demand on-chain updates, prices can be updated more promptly, but the application must check whether a price is too old; otherwise, it may read an outdated price.
With a push-based oracle, the oracle network proactively writes prices to the blockchain according to preset rules, and the contract can read the latest on-chain price at any time.
The first page of my trading notes says: Understand it before placing an order.
Markets are always uncertain, so decide in advance what to do if you're wrong.
$PYTH 0.06009(-18.42%)
#PYTH
With pull-based on-demand on-chain updates, prices can be updated more promptly, but the application must check whether a price is too old; otherwise, it may read an outdated price.
With a push-based oracle, the oracle network proactively writes prices to the blockchain according to preset rules, and the contract can read the latest on-chain price at any time.
The first page of my trading notes says: Understand it before placing an order.
Markets are always uncertain, so decide in advance what to do if you're wrong.
$PYTH 0.06009(-18.42%)
#PYTH

