From ba8bac0b610697704af743200795c6f2b27049c7 Mon Sep 17 00:00:00 2001 From: Avraham Sakal Date: Fri, 3 Jan 2025 14:14:01 -0500 Subject: [PATCH] fix: i was accidentally using us not ms --- ingest-option-quotes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingest-option-quotes.ts b/ingest-option-quotes.ts index 29e8ed1..90f4132 100644 --- a/ingest-option-quotes.ts +++ b/ingest-option-quotes.ts @@ -69,7 +69,7 @@ for (const date of dateRange("2024-05-02", "2024-05-03")) { symbol: contract.underlying_ticker, expiration_date: contract.expiration_date, strike: contract.strike_price, - ts: new Date(Math.floor(sip_timestamp / 1000)), + ts: new Date(Math.floor(sip_timestamp / 1000000)), bid: bid_price, ask: ask_price, })