From c5ed6e6ac490f436fca46f0fdebf99937bde51a5 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 11 Aug 2023 13:34:23 -0400 Subject: [PATCH] Facepalm: remove now unused `CostModel` idea.. --- piker/accounting/__init__.py | 2 -- piker/clearing/_paper_engine.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/piker/accounting/__init__.py b/piker/accounting/__init__.py index e7ff16f1..e27dc4bf 100644 --- a/piker/accounting/__init__.py +++ b/piker/accounting/__init__.py @@ -50,7 +50,6 @@ from ._allocate import ( mk_allocator, Allocator, ) -from .models import CostModel log = get_logger(__name__) @@ -59,7 +58,6 @@ __all__ = [ 'Account', 'Allocator', 'Asset', - 'CostModel', 'MktPair', 'Position', 'Symbol', diff --git a/piker/clearing/_paper_engine.py b/piker/clearing/_paper_engine.py index f1c1a3d9..6fe5fe67 100644 --- a/piker/clearing/_paper_engine.py +++ b/piker/clearing/_paper_engine.py @@ -41,7 +41,6 @@ import tractor from piker.brokers import get_brokermod from piker.accounting import ( Account, - # CostModel, MktPair, Position, Transaction, @@ -790,7 +789,6 @@ def norm_trade( pairs: dict[str, Struct], symcache: SymbologyCache | None = None, - # fees: CostModel | None = None, brokermod: ModuleType | None = None, ) -> Transaction: