post https://api.tradexapp.co/v2/markets
Fetch data for live markets on platform.
Response Fields
Market relevant data is available under "market" key in json response
| Name | Type | Description |
|---|---|---|
| id | int | Market identifier |
| totalamount | int | Maximum payout at event settlement |
| title | str | Market title |
| category | str | Market category eg. Sports, Finance, etc |
| status | str | "A" stands for active markets |
| endsat | iso datetime | Time when trading will be stopped |
| source | str url | Link used for market settlement |
| settledate | iso datetime | Time when market will be settled |
| resolution | str | Description of how market will be settled |
| start_date | iso datetime | Time when trading will be started |
| is_price_editable | bool | if true limit orders can be placed at desired price |
| max_allowed_position | int | maximum order value allowed (in rupees) |
| subcategory | str | Market sub-category eg. BTC, IndiaAfghanistan, etc |
| range | int | tick size |
| expiry_seconds | str | seconds left to market expiry |
| keywords | str | comma seperated values of keywords relevant to market |
| hashtags | list str | list of hastags relevant to market |
| subsubcat | str | Market sub-sub-category |
| tags | list str | list of tags relevant to market |
| volume | int | total value traded on the market |
| yCP | int | Current price of "Yes" |
| nCP | int | Current price of "No" |
| newNCP | int | Updated price of "No" |
| newYCP | int | Updated price of "Yes" |
| sellYCP | int | Sell price of "Yes" |
| sellNCP | int | Sell price of "No" |
| currentPrice | dict | Dictionary contain prices of "Yes" and "No" |