We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b347e6a commit 2c5a40bCopy full SHA for 2c5a40b
investing_algorithm_framework/services/order_service/order_backtest_service.py
@@ -1,6 +1,5 @@
1
import logging
2
3
-import pandas as pd
4
import polars as pl
5
6
from investing_algorithm_framework.domain import BACKTESTING_INDEX_DATETIME, \
@@ -99,13 +98,6 @@ def check_pending_orders(self):
99
98
.config[BACKTESTING_PENDING_ORDER_CHECK_INTERVAL]
100
)
101
102
- # Convert polaris df to pandas df
103
- df = df.to_pandas()
104
-
105
- # Convert the 'Datetime' column to pandas Timestamp
106
- df["Datetime"] = pd.to_datetime(df["Datetime"])
107
- df.set_index("Datetime", inplace=True)
108
109
if self.has_executed(order, df):
110
self.update(
111
order.id,
0 commit comments