write_dbn_file
Export historical market data to DBN files for analysis, specifying dataset, symbols, schema, and date range to create structured financial data files.
Instructions
Write historical data query results directly to a DBN file
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dataset": "<dataset>",
"symbols": "<symbols>",
"schema": "<schema>",
"start": "<start>",
"end": "<end>",
"output_path": "<output_path>"
},
"name": "write_dbn_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | Yes | Dataset name (e.g., 'GLBX.MDP3') | |
| symbols | Yes | Comma-separated list of symbols | |
| schema | Yes | Data schema (e.g., 'trades', 'ohlcv-1m') | |
| start | Yes | Start date (YYYY-MM-DD or ISO 8601) | |
| end | Yes | End date (YYYY-MM-DD or ISO 8601) | |
| output_path | Yes | Path for output file | |
| compression | No | Compression type (default: 'zstd') | zstd |