You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Knowing the condition id of the market is crucial for order placement, historical prices etc.
But I havent been able to figure out an easy way to fetch the condition ID given the market name on the website.
I'd be really glad if someone can help me out.
But the list of markets returned by this snippet doesnt include the market I linked earlier, indicating that this is not a full proof method of fetching markets.
Likely, I'm being really silly, and there is a trivial way to do this, because it sounds like an obvious feature to have. So please if any one has any insights, do share them with me.
Action Items
Discussion
The text was updated successfully, but these errors were encountered:
Overview
Knowing the condition id of the market is crucial for order placement, historical prices etc.
But I havent been able to figure out an easy way to fetch the condition ID given the market name on the website.
I'd be really glad if someone can help me out.
Description
As an example, consider this market -> https://polymarket.com/event/elon-musk-of-tweets-december-20-27?tid=1735302776150
I know the market name(roughly not exactly, because the market name would also contain the tweets range), but now how do I get the condition ID for this market.
At the moment, I implemented the following to get hold of all markets with Elon Musk in it
But the list of markets returned by this snippet doesnt include the market I linked earlier, indicating that this is not a full proof method of fetching markets.
Likely, I'm being really silly, and there is a trivial way to do this, because it sounds like an obvious feature to have. So please if any one has any insights, do share them with me.
Action Items
The text was updated successfully, but these errors were encountered: