Move `.clearing._allocate` -> `accounting._allocate`
parent
d644436a3c
commit
10ae9106e2
|
@ -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({
|
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
|
@ -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 (
|
||||||
|
|
Loading…
Reference in New Issue