Facepalm: remove now unused `CostModel` idea..

account_tests
Tyler Goodlet 2023-08-11 13:34:23 -04:00
parent 077d9bf1d2
commit c5ed6e6ac4
2 changed files with 0 additions and 4 deletions

View File

@ -50,7 +50,6 @@ from ._allocate import (
mk_allocator, mk_allocator,
Allocator, Allocator,
) )
from .models import CostModel
log = get_logger(__name__) log = get_logger(__name__)
@ -59,7 +58,6 @@ __all__ = [
'Account', 'Account',
'Allocator', 'Allocator',
'Asset', 'Asset',
'CostModel',
'MktPair', 'MktPair',
'Position', 'Position',
'Symbol', 'Symbol',

View File

@ -41,7 +41,6 @@ import tractor
from piker.brokers import get_brokermod from piker.brokers import get_brokermod
from piker.accounting import ( from piker.accounting import (
Account, Account,
# CostModel,
MktPair, MktPair,
Position, Position,
Transaction, Transaction,
@ -790,7 +789,6 @@ def norm_trade(
pairs: dict[str, Struct], pairs: dict[str, Struct],
symcache: SymbologyCache | None = None, symcache: SymbologyCache | None = None,
# fees: CostModel | None = None,
brokermod: ModuleType | None = None, brokermod: ModuleType | None = None,
) -> Transaction: ) -> Transaction: