resources/data/market.json
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
What it is
Complete brokerage practice file. The Assemble project page lists every file in order.
When to use it
Paste the complete file at this path. Names and paths are case-sensitive on Linux.
Syntax
mkdir -p 'resources/data'
# Paste the Example below into resources/data/market.jsonExample
{
"data": [
{
"symbol": "AAPL",
"last_price": 189.42,
"bid": 189.4,
"ask": 189.45,
"volume": 1204500,
"change_percent": 0.84,
"updated_at": "2025-01-15T14:30:05Z",
"bids": [
{
"price": 189.4,
"quantity": 300
},
{
"price": 189.35,
"quantity": 400
},
{
"price": 189.3,
"quantity": 500
}
],
"asks": [
{
"price": 189.45,
"quantity": 250
},
{
"price": 189.5,
"quantity": 350
},
{
"price": 189.55,
"quantity": 450
}
]
},
{
"symbol": "MSFT",
"last_price": 415.2,
"bid": 415.18,
"ask": 415.23,
"volume": 1204500,
"change_percent": 0.84,
"updated_at": "2025-01-15T14:30:05Z",
"bids": [
{
"price": 415.18,
"quantity": 300
},
{
"price": 415.13,
"quantity": 400
},
{
"price": 415.08,
"quantity": 500
}
],
"asks": [
{
"price": 415.23,
"quantity": 250
},
{
"price": 415.28,
"quantity": 350
},
{
"price": 415.33,
"quantity": 450
}
]
},
{
"symbol": "GOOGL",
"last_price": 175.3,
"bid": 175.28,
"ask": 175.33,
"volume": 1204500,
"change_percent": 0.84,
"updated_at": "2025-01-15T14:30:05Z",
"bids": [
{
"price": 175.28,
"quantity": 300
},
{
"price": 175.23,
"quantity": 400
},
{
"price": 175.18,
"quantity": 500
}
],
"asks": [
{
"price": 175.33,
"quantity": 250
},
{
"price": 175.38,
"quantity": 350
},
{
"price": 175.43,
"quantity": 450
}
]
}
]
}
Common mistakes
Use the setup runbook first. Adapt provisional API assumptions to the supplied contract. Merge into supplied applications; do not duplicate the orders migration.