From eb4163ea06defa1f160f3336ca394b0803c65b6c Mon Sep 17 00:00:00 2001 From: Nelson Torres Date: Thu, 30 Jan 2025 01:37:51 +0000 Subject: [PATCH] OpenInterest imports for cryptofeed --- piker/brokers/deribit/api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/piker/brokers/deribit/api.py b/piker/brokers/deribit/api.py index f846a5c0..10736083 100644 --- a/piker/brokers/deribit/api.py +++ b/piker/brokers/deribit/api.py @@ -52,12 +52,14 @@ from cryptofeed import FeedHandler from cryptofeed.defines import ( DERIBIT, L1_BOOK, TRADES, - OPTION, CALL, PUT + OPTION, CALL, PUT, + OPEN_INTEREST, ) from cryptofeed.symbols import Symbol from cryptofeed.types import ( L1Book, Trade, + OpenInterest, ) from piker.brokers import SymbolNotFound from .venues import (