From 9972bd387afc4c1b167243d032979fb9f303ba11 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 14 Jun 2023 17:23:20 -0400 Subject: [PATCH] kraken: use new `open_trade_dialog()` ep name B) --- piker/brokers/kraken/__init__.py | 4 ++-- piker/brokers/kraken/broker.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/piker/brokers/kraken/__init__.py b/piker/brokers/kraken/__init__.py index 0589981b..8ec19bcf 100644 --- a/piker/brokers/kraken/__init__.py +++ b/piker/brokers/kraken/__init__.py @@ -35,7 +35,7 @@ from .feed import ( stream_quotes, ) from .broker import ( - trades_dialogue, + open_trade_dialog, norm_trade_records, ) @@ -43,7 +43,7 @@ from .broker import ( __all__ = [ 'get_client', 'get_mkt_info', - 'trades_dialogue', + 'open_trade_dialog', 'open_history_client', 'open_symbol_search', 'stream_quotes', diff --git a/piker/brokers/kraken/broker.py b/piker/brokers/kraken/broker.py index 814826be..62477e9c 100644 --- a/piker/brokers/kraken/broker.py +++ b/piker/brokers/kraken/broker.py @@ -417,7 +417,7 @@ def trades2pps( @tractor.context -async def trades_dialogue( +async def open_trade_dialog( ctx: tractor.Context, ) -> AsyncIterator[dict[str, Any]]: