Excel
Pull Koinju market data straight into Microsoft Excel using either the ClickHouse ODBC driver or Excel's built-in Power Query connector.
Before you start
Host
the provided database URL
Port
8443
Protocol
HTTPS / SSL enabled
Database
api
User/Password
provided by Koinju
Don't have credentials yet? See How to connect.
Step-by-step
Option A — ODBC driver
Download the Windows ODBC driver MSI from the ClickHouse ODBC releases page and install it.
Open ODBC Data Sources (Windows) and create a new DSN for the ClickHouse driver:
Host: the provided database URL
Port:
8443SSL: on
Database:
api
In Excel: Data ▸ Get Data ▸ From Other Sources ▸ From ODBC.
Pick the DSN you created, enter the username and password provided by Koinju.
Choose a table (or supply a SQL statement) and Load.
Option B — Power Query connector
Make sure the ClickHouse ODBC driver from Option A is installed (the Power Query ClickHouse connector relies on it).
In Excel: Data ▸ Get Data ▸ From Database ▸ ClickHouse.
Enter:
Server / Host: the provided database URL, port
8443SSL: enabled
Database:
api
Supply the username and password provided by Koinju and load the data.
The ClickHouse ODBC driver connects over the HTTP(S) interface on port 8443 — the same endpoint used by every other tool in this section.
If timezone-aware datetimes look shifted or misbehave once loaded into a worksheet, see the timezone guidance in How to connect.
First sanity query
When prompted for a SQL statement (Option A's "advanced" entry or a Power Query native query), run:
If you get ~20 rows back, you're connected. Next, explore what data is available in Data.
Last updated
Was this helpful?