LLM_API_KEY is missing.
alternate
On even ticks: probe YES rungs outward from spot at $50 increments. On odd ticks: NO rungs. For each rung:- devInspect
predict::get_trade_amounts(oracle, strike, isUp). - If the ask is inside
ask_bounds(short-dated oracles only quote ~±150), submit apredict::mintPTB forAGENT_TRADE_DUSDC. - Else move outward and try again.
yes-only
Same probe, YES side only.no-only
Same probe, NO side only.Why $50 rungs
Predict’s strike grid is$1. $63,601 quotes, $63,600.50 aborts. The agent rounds to whole dollars. $50 is wide enough to cover normal in-bounds asks while keeping the probe count low (typically 1-3 rungs per direction).
Why probe outward
A fixednearest_$500_OTM shot misses the live in-bounds band entirely. The keeper’s $500 OTM strike either aborts (assert_quoteable_oracle) or has a 0.5¢ ask forever. Probing finds the first tradable ask.
Oracle dedupe
Discovery usesoracles.ts → dedupeFreshest to collapse testnet Predict’s parallel oracle ladders to one live book per (asset, expiry):
- Primary:
lastUpdateMsat 1h buckets (most recent wins, ties handled by tiebreak). - Tiebreak:
fillCount(deeper book wins within a bucket).
get_trade_amounts, so picking it means every tick skips.