Export to Excel
export_to_excelExport query results to a branded Shibui Finance Excel spreadsheet.
Runs the same SQL query as stock_data_query but returns a downloadable Excel file instead of raw data. The spreadsheet includes branded headers, smart number formatting, and auto-fitted columns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL query to execute and export. Same query used with stock_data_query. | |
| title | Yes | Title for the spreadsheet header (e.g. "Mega-Cap Stock Comparison"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |