tradx 0.7.12__tar.gz → 0.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tradx-0.7.12 → tradx-0.8}/PKG-INFO +1 -1
- {tradx-0.7.12 → tradx-0.8}/pyproject.toml +1 -1
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/baseAlgo.py +2 -1
- {tradx-0.7.12 → tradx-0.8}/src/tradx/marketDataEngine.py +4 -0
- {tradx-0.7.12 → tradx-0.8}/.gitignore +0 -0
- {tradx-0.7.12 → tradx-0.8}/.vscode/settings.json +0 -0
- {tradx-0.7.12 → tradx-0.8}/README.md +0 -0
- {tradx-0.7.12 → tradx-0.8}/examples/example1.log +0 -0
- {tradx-0.7.12 → tradx-0.8}/examples/example1.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/examples/example2.log +0 -0
- {tradx-0.7.12 → tradx-0.8}/examples/example2.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/__init__.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/algoContainer.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/candleData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/cmInstrument.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/futureInstrument.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/index.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/instrumentPropertyChangeData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/ltpData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/ltpPartialData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/marketDepthData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/marketStatusData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/openInterestData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/openInterestPartialData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/optionsInstrument.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/order.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/orderEvent.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/position.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/positionEvent.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/touchLineData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/touchLinePartialData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/tradeConversionEvent.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/baseClass/tradeEvent.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/constants/holidays.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/dualHashMap.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/interactiveEngine.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/logger/logger.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/logger/logger2.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/src/tradx/py.typed +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_candleData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_interactiveEngine.log +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_interactiveEngine.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_logger.log +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_logger.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_ltpData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_ltpPartailData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_marketDataEngine.log +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_marketDataEngine.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_marketDepthData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_marketStatusData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_openInterestData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_openInterestPartialData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_option.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_orderEvent.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_positionEvent.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_touchLineData.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_tradeConversionEvent.py +0 -0
- {tradx-0.7.12 → tradx-0.8}/test/test_tradeEvent.py +0 -0
@@ -151,6 +151,7 @@ class BaseAlgo(ABC):
|
|
151
151
|
if existing_order:
|
152
152
|
# Update the status of the existing order
|
153
153
|
existing_order.OrderStatus = order.OrderStatus
|
154
|
+
existing_order.OrderPrice = order.OrderAverageTradedPriceAPI
|
154
155
|
if self.interactiveEngine.user_logger:
|
155
156
|
self.interactiveEngine.user_logger.info(
|
156
157
|
f"Updated order {order.OrderUniqueIdentifier} status to {order.OrderStatus}",
|
@@ -165,7 +166,7 @@ class BaseAlgo(ABC):
|
|
165
166
|
order.OrderType,
|
166
167
|
order.OrderQuantity,
|
167
168
|
order.OrderDisclosedQuantity,
|
168
|
-
order.
|
169
|
+
order.OrderAverageTradedPrice,
|
169
170
|
order.OrderStopPrice,
|
170
171
|
order.OrderSideAPI,
|
171
172
|
order.TimeInForce,
|
@@ -167,6 +167,10 @@ class marketDataEngine(MarketDataSocketClient):
|
|
167
167
|
caller="marketDataEngine.__init__",
|
168
168
|
)
|
169
169
|
|
170
|
+
async def on_event_instrument_change_partial(self, data):
|
171
|
+
"""On receiving message code 1105:Instrument Change partial"""
|
172
|
+
return
|
173
|
+
|
170
174
|
async def initialize(self) -> None:
|
171
175
|
"""
|
172
176
|
Asynchronously initializes the market data engine.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|