Market
This documentation describes the complete structure of a Market Update message (Type 3) as delivered by TRADE.
{
"Header": {
"msg_type": 1,
"timestamp": 1711995327345
},
"Body": {
"data": {
"fixture": "Fixture",
"markets": [
{
"m_id": 1,
"title": "Full Time",
"status": 1,
"odds": [
{
"o_id": "1_1",
"short": "1",
"title": "1",
"odd": 1.45,
"status": 1
}
]
}
]
}
}
}
Model
Events
| Element | Data Type | Description |
|---|---|---|
| f_id | int | The unique ID of the fixture. |
| Fixture | int | Fixture |
| Livescore | int | Livescore |
| Markets | int | Markets |
Markets
| Element | Data Type | Description |
|---|---|---|
| m_id | int | The unique ID of the market |
title | string | The name of the market |
| status | int | Market status enum |
| odds | array | An array of Odds |
Odds
| Element | Data Type | Description |
| o_id | string | Your package type |
| short | string | The current subscription status of the event in your package |
| title | string | The current subscription status of the event in your package |
| status | enum | The current subscription status of the event in your package |
| odd | float | The current subscription status of the event in your package |