Repository navigation
v0.1.1
Fixed
market(condition_id)returned no row for any resolved market. Gamma's
/markets/keysetappliesclosed=falsewhen the parameter is omitted, even
to an explicitcondition_idsfilter, so a market that had closed was
invisible to its own id. Ids the open pass misses are now looked up again
withclosed=true(one extra request, only when something is missing). The
same lookup backs every correlatedLATERAL polymarket.main.market(...).- The first
orderbook()example took the single busiest open market's first
outcome, which is often a game that has just ended with an empty book. It
now takes one outcome among the ten busiest that has resting orders, so the
example shows real depth.
Documentation
-
markets()andevents()documentedclosedas if omitting it always
returned open and settled rows together. Checked against the live API, that
holds only forevents():/markets/keysettreats a missingclosedas
false, somarkets()without it returns open markets only, including a
slugorcondition_idlookup for a resolved market. The argument docs,
themarkets()agent and catalog docs, and the README now say so, and point
atclosed => 'true'ormarket()for resolved markets. -
The catalog docs link to the upstream service and its API documentation
(VGI183): polymarket.com, the Polymarket API reference, the Gamma and CLOB
OpenAPI specs, the Data API v2 docs and the market-data overview, and state
the Polymarket Terms of Use (also linked from the README). -
Per-function detail in the catalog overview (the spread check behind
quote(), order-book batching costs) is shortened to a pointer; those
functions' own docs already carry it. This also keepsvgi.doc_mdinside the
4,000-character agent context limit (VGI417). -
vgi-lint.tomlwaives VGI417 for the 33-column market row's
vgi.result_columns_schemaonmarkets,marketandevent_markets, as
the Kalshi worker does for its market row. -
vgi-lint.tomlraises the slow-example warning bar to 10 s: the live
examples run concurrently under--executeand land at 5-8 s together
against 1-2.5 s alone. -
README's pinned-install example now pins v0.1.1.