From ac3a6e03ffdc0ef549402c0b233dcd3f04d00906 Mon Sep 17 00:00:00 2001 From: Avraham Sakal Date: Mon, 11 Dec 2023 16:10:51 -0500 Subject: [PATCH] rename options contracts table --- src/ingest-options-from-polygon.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ingest-options-from-polygon.mjs b/src/ingest-options-from-polygon.mjs index eacf816..aacea89 100644 --- a/src/ingest-options-from-polygon.mjs +++ b/src/ingest-options-from-polygon.mjs @@ -6,7 +6,7 @@ import { sleep, getPolygonApiKey } from './util.mjs'; const clickhouse = createClickhouseClient({username:'avraham', password:'buginoo'}); -const optionContractsTableName = "option_aggregates"; +const optionContractsTableName = "option_contracts"; async function deleteClickhouseTable(){ await clickhouse.command({ query: `DROP TABLE IF EXISTS ${optionContractsTableName}`,