mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-02 07:23:25 +00:00
* create help page * rename file * words * words * more issues * less words * minor fix * email * no bare urls * unused attribute * ruff
1.7 KiB
Vendored
1.7 KiB
Vendored
title, sidebar_position, description, keywords
| title | sidebar_position | description | keywords | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Data connectors | 3 | Access your data connectors from OpenBB Terminal Pro inside OpenBB Add-in for Excel. |
|
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
OpenBB Add-In for Excel allows you to access your data connectors from OpenBB Terminal Pro inside Microsoft Excel. This can be done using the OBB.BYOD function.
To access data from a single widget use:
=OBB.BYOD("widget_name")
To access data from your own backend use:
=OBB.BYOD("widget_name","backend_name")
If your backend supports it is possible to pass a symbol, date or other optional parameters:
=OBB.BYOD("widget_name","backend_name","my_symbol","my_date",{"param1":"value1","param2":"value2", ...})
:::tip
The easiest way to pass optional parameters is to write them into cells and reference them in the function. For example, =OBB.BYOD(...,A1:B2) where A1 contains "param1", B1 "value1", A2 "param2", B2 "value2" and so on.
:::
Additional notes
- Make sure your backend's CORS settings allow requests coming from https://excel.openbb.co.
- Requests via HTTP will be blocked by Excel. So if you are using the Add-in for Excel on Mac or Office on the web with Safari browser you need to run your backend via HTTPS.