From 098dd0415952df96c6bdb9d42105ea2c97a60b8c Mon Sep 17 00:00:00 2001 From: tukuaiai Date: Sat, 28 Feb 2026 07:23:03 +0800 Subject: [PATCH] docs: polymarket - fix doc-root links --- assets/skills/polymarket/references/api.md | 6 +- .../polymarket/references/getting_started.md | 16 ++-- assets/skills/polymarket/references/guides.md | 32 +++---- assets/skills/polymarket/references/learn.md | 24 ++--- .../skills/polymarket/references/llms-full.md | 88 +++++++++---------- assets/skills/polymarket/references/other.md | 4 +- .../skills/polymarket/references/trading.md | 20 ++--- 7 files changed, 95 insertions(+), 95 deletions(-) diff --git a/assets/skills/polymarket/references/api.md b/assets/skills/polymarket/references/api.md index a6f603a..0a19047 100644 --- a/assets/skills/polymarket/references/api.md +++ b/assets/skills/polymarket/references/api.md @@ -190,9 +190,9 @@ curl "https://gamma-api.polymarket.com/markets?tag_id=100381&closed=false&limit= 4. **Always Include `closed=false`:** Unless you specifically need historical data 5. **Implement Rate Limiting:** Respect API limits for production applications -* [Get Markets](/developers/gamma-markets-api/get-markets) - Full markets endpoint documentation -* [Get Events](/developers/gamma-markets-api/get-events) - Full events endpoint documentation -* [Search Markets](/developers/gamma-markets-api/get-public-search) - Search functionality +* [Get Markets](https://docs.polymarket.com/developers/gamma-markets-api/get-markets) - Full markets endpoint documentation +* [Get Events](https://docs.polymarket.com/developers/gamma-markets-api/get-events) - Full events endpoint documentation +* [Search Markets](https://docs.polymarket.com/developers/gamma-markets-api/get-public-search) - Search functionality --- diff --git a/assets/skills/polymarket/references/getting_started.md b/assets/skills/polymarket/references/getting_started.md index 965c631..ba0be42 100644 --- a/assets/skills/polymarket/references/getting_started.md +++ b/assets/skills/polymarket/references/getting_started.md @@ -193,7 +193,7 @@ Source: https://docs.polymarket.com/quickstart/introduction/definitions | **Token** | A token represents a stake in a specific Yes/No outcome in a Market. The price of a token can fluctuate between $0 - $1 based on the market belief in the outcome. When a market resolves, the token associated with the correct prediction can be redeemed for \$1 USDC. This is also sometimes called an *Asset Id* | | **Market** | A single event outcome. Corresponds to a pair of CLOB token IDs(Yes/No), a market address, a question ID and a condition ID. | | **Event** | A collection of related markets grouped under a common topic or theme. | -| **SLUG** | A human readable identification for a market or event. Can be found in the URL of any Polymarket Market or Event. You can use this slug to find more detailed information about a market or event by using it as a parameter in the [Get Events](/developers/gamma-markets-api/get-events) or [Get Markets](/developers/gamma-markets-api/get-markets) endpoints. | +| **SLUG** | A human readable identification for a market or event. Can be found in the URL of any Polymarket Market or Event. You can use this slug to find more detailed information about a market or event by using it as a parameter in the [Get Events](https://docs.polymarket.com/developers/gamma-markets-api/get-events) or [Get Markets](https://docs.polymarket.com/developers/gamma-markets-api/get-markets) endpoints. | | **Negative Risk (negrisk)** | A group of Markets(Event) in which only one Market can resolve as yes. For more detail see [Negrisk Details](https://docs.polymarket.com/developers/neg-risk/overview) | | **Central Limit Order Book** | The off-chain order matching system. This is where you place resting orders and market orders are matched with existing orders before being sent on-chain. | | **Polygon Network** | A scalable, multi-chain blockchain platform used by Polymarket to facilitate on-chain activities(contract creation, token transfers, etc) | @@ -247,7 +247,7 @@ Source: https://docs.polymarket.com/polymarket-learn/FAQ/does-polymarket-have-an Getting data from Polymarket -Yes! Developers can find all the information they need for interacting with Polymarket. This includes [documentation on market discovery, resolution, trading etc.](/quickstart/introduction/main) +Yes! Developers can find all the information they need for interacting with Polymarket. This includes [documentation on market discovery, resolution, trading etc.](https://docs.polymarket.com/quickstart/introduction/main) Whether you are an academic researcher a market maker or an indepedent developer, this documentation should provide you what you need to get started. All the code you find linked here and on our [GitHub](https://github.com/polymarket) is open source and free to use. @@ -267,7 +267,7 @@ This section of the documentation will provide all the essential resources to he Everything you need to start building with the Polymarket API is right here. Let’s get started. -[Not sure what to build next? Get inspired by checking out real examples from other developers using the API.](/quickstart/introduction/showcase) +[Not sure what to build next? Get inspired by checking out real examples from other developers using the API.](https://docs.polymarket.com/quickstart/introduction/showcase) --- @@ -327,13 +327,13 @@ Polymarket is the world’s largest prediction market, allowing you to stay info Studies show prediction markets are often more accurate than pundits because they combine news, polls, and expert opinions into a single value that represents the market's view of an event's odds. Our markets reflect *accurate, unbiased, and real-time probabilities* for the events that matter most to you. Markets seek truth. -* On Polymarket, you can [buy and sell shares](making-your-first-trade) representing future event outcomes (i.e. "Will TikTok be banned in the U.S. this year?") +* On Polymarket, you can [buy and sell shares](https://docs.polymarket.com/polymarket-learn/get-started/making-your-first-trade) representing future event outcomes (i.e. "Will TikTok be banned in the U.S. this year?") -* Shares in event outcomes are [always priced](what-is-polymarket/#understanding-prices) between 0.00 and 1.00 [USDC](../FAQ/why-do-i-need-crypto/#why-usdc), and every pair of event outcomes (i.e. each pair of "YES" + "NO" shares) is fully collateralized by \$1.00 USDC. +* Shares in event outcomes are [always priced](https://docs.polymarket.com/polymarket-learn/get-started/what-is-polymarket/#understanding-prices) between 0.00 and 1.00 [USDC](https://docs.polymarket.com/polymarket-learn/FAQ/why-do-i-need-crypto/#why-usdc), and every pair of event outcomes (i.e. each pair of "YES" + "NO" shares) is fully collateralized by \$1.00 USDC. -* Shares are created when [opposing sides come to an agreement on odds](../trading/limit-orders), such that the sum of what each side is willing to pay is equal to \$1.00. +* Shares are created when [opposing sides come to an agreement on odds](https://docs.polymarket.com/polymarket-learn/trading/limit-orders), such that the sum of what each side is willing to pay is equal to \$1.00. -* The shares representing the *correct, final outcome* are paid out \$1.00 USDC each upon [market resolution](../markets/how-are-markets-resolved). +* The shares representing the *correct, final outcome* are paid out \$1.00 USDC each upon [market resolution](https://docs.polymarket.com/polymarket-learn/markets/how-are-markets-resolved). * Unlike sportsbooks, you are not betting against "the house" – the counterparty to each trade is another Polymarket user. As such: @@ -351,7 +351,7 @@ Prices = Probabilities. These odds are determined by what price other Polymarket users are currently willing to buy & sell those shares at. Just how stock exchanges don't "set" the prices of stocks, Polymarket does not set prices / odds - they're a function of supply & demand. -[Learn more >](/docs/guides/trading/how-are-prices-calculated) +[Learn more >](https://docs.polymarket.com/docs/guides/trading/how-are-prices-calculated) ### Making money on markets diff --git a/assets/skills/polymarket/references/guides.md b/assets/skills/polymarket/references/guides.md index 13c3434..0f67018 100644 --- a/assets/skills/polymarket/references/guides.md +++ b/assets/skills/polymarket/references/guides.md @@ -52,9 +52,9 @@ Individual markets and events are best fetched using their unique slug identifie From any Polymarket URL, the slug is the path segment after `/event/` or `/market/`: -**For Events:** [GET /events/slug/{slug}](/api-reference/events/list-events) +**For Events:** [GET /events/slug/{slug}](https://docs.polymarket.com/api-reference/events/list-events) -**For Markets:** [GET /markets/slug/{slug}](/api-reference/markets/list-markets) +**For Markets:** [GET /markets/slug/{slug}](https://docs.polymarket.com/api-reference/markets/list-markets) **Use Case:** When you want to filter markets by category, sport, or topic. @@ -62,9 +62,9 @@ Tags provide a powerful way to categorize and filter markets. You can discover a ### Discover Available Tags -**General Tags:** [GET /tags](/api-reference/tags/list-tags) +**General Tags:** [GET /tags](https://docs.polymarket.com/api-reference/tags/list-tags) -**Sports Tags & Metadata:** [GET /sports](/api-reference/sports/get-sports-metadata-information) +**Sports Tags & Metadata:** [GET /sports](https://docs.polymarket.com/api-reference/sports/get-sports-metadata-information) The `/sports` endpoint returns comprehensive metadata for sports including tag IDs, images, resolution sources, and series information. @@ -72,9 +72,9 @@ The `/sports` endpoint returns comprehensive metadata for sports including tag I Once you have tag IDs, you can use them with the `tag_id` parameter in both markets and events endpoints. -**Markets with Tags:** [GET /markets](/api-reference/markets/list-markets) +**Markets with Tags:** [GET /markets](https://docs.polymarket.com/api-reference/markets/list-markets) -**Events with Tags:** [GET /events](/api-reference/events/list-events) +**Events with Tags:** [GET /events](https://docs.polymarket.com/api-reference/events/list-events) ### Additional Tag Filtering @@ -87,9 +87,9 @@ Once you have tag IDs, you can use them with the `tag_id` parameter in both mark The most efficient approach is to use the `/events` endpoint and work backwards, as events contain their associated markets. -**Events Endpoint:** [GET /events](/api-reference/events/list-events) +**Events Endpoint:** [GET /events](https://docs.polymarket.com/api-reference/events/list-events) -**Markets Endpoint:** [GET /markets](/api-reference/markets/list-markets) +**Markets Endpoint:** [GET /markets](https://docs.polymarket.com/api-reference/markets/list-markets) * `order=id` - Order by event ID * `ascending=false` - Get newest events first @@ -129,9 +129,9 @@ Tags provide a powerful way to categorize and filter markets. You can discover a ### Discover Available Tags -**General Tags:** [GET /tags](/api-reference/tags/list-tags) +**General Tags:** [GET /tags](https://docs.polymarket.com/api-reference/tags/list-tags) -**Sports Tags & Metadata:** [GET /sports](/api-reference/sports/get-sports-metadata-information) +**Sports Tags & Metadata:** [GET /sports](https://docs.polymarket.com/api-reference/sports/get-sports-metadata-information) The `/sports` endpoint returns comprehensive metadata for sports including tag IDs, images, resolution sources, and series information. @@ -139,9 +139,9 @@ The `/sports` endpoint returns comprehensive metadata for sports including tag I Once you have tag IDs, you can use them with the `tag_id` parameter in both markets and events endpoints. -**Markets with Tags:** [GET /markets](/api-reference/markets/list-markets) +**Markets with Tags:** [GET /markets](https://docs.polymarket.com/api-reference/markets/list-markets) -**Events with Tags:** [GET /events](/api-reference/events/list-events) +**Events with Tags:** [GET /events](https://docs.polymarket.com/api-reference/events/list-events) ``` Example 3 (unknown): @@ -161,9 +161,9 @@ You can also: The most efficient approach is to use the `/events` endpoint and work backwards, as events contain their associated markets. -**Events Endpoint:** [GET /events](/api-reference/events/list-events) +**Events Endpoint:** [GET /events](https://docs.polymarket.com/api-reference/events/list-events) -**Markets Endpoint:** [GET /markets](/api-reference/markets/list-markets) +**Markets Endpoint:** [GET /markets](https://docs.polymarket.com/api-reference/markets/list-markets) ### Key Parameters @@ -200,7 +200,7 @@ For large datasets, use pagination with `limit` and `offset` parameters: - Video Walkthrough - Placing a Market Order -Once you've [signed up](../get-started/how-to-signup) and [deposited funds](../get-started/how-to-deposit), you're ready to start trading on Polymarket. Here's a step-by-step guide to get you started. +Once you've [signed up](https://docs.polymarket.com/polymarket-learn/get-started/how-to-signup) and [deposited funds](https://docs.polymarket.com/polymarket-learn/get-started/how-to-deposit), you're ready to start trading on Polymarket. Here's a step-by-step guide to get you started.