Move `.clearing._allocate` -> `accounting._allocate`

pre_overruns_ctxcancelled
Tyler Goodlet 2023-03-27 14:24:27 -04:00
parent d644436a3c
commit 10ae9106e2
3 changed files with 5 additions and 5 deletions

View File

@ -23,9 +23,9 @@ from typing import Optional
from bidict import bidict from bidict import bidict
from ..accounting._mktinfo import Symbol from ._pos import Position
from ._mktinfo import Symbol
from ..data.types import Struct from ..data.types import Struct
from ..accounting import Position
_size_units = bidict({ _size_units = bidict({

View File

@ -45,7 +45,7 @@ from ..calc import (
pnl, pnl,
puterize, puterize,
) )
from ..clearing._allocate import Allocator from ..accounting._allocate import Allocator
from ..accounting import ( from ..accounting import (
Position, Position,
) )

View File

@ -37,10 +37,10 @@ from PyQt5.QtCore import Qt
from .. import config from .. import config
from ..accounting import Position from ..accounting import Position
from ..clearing._client import open_ems, OrderBook from ..accounting._allocate import (
from ..clearing._allocate import (
mk_allocator, mk_allocator,
) )
from ..clearing._client import open_ems, OrderBook
from ._style import _font from ._style import _font
from ..accounting._mktinfo import Symbol from ..accounting._mktinfo import Symbol
from ..data.feed import ( from ..data.feed import (