Merge branch 'master' into master_remote

This commit is contained in:
2025-04-07 10:35:19 +05:30
2 changed files with 3 additions and 4 deletions
@@ -305,9 +305,8 @@ def setup_zerodha_kite_feed(
not_found_df = total_instruments_df[total_instruments_df["broker_token"].isin(not_found_broker_tokens)]
not_found_df['expiry_date'] = pd.to_datetime(not_found_df['expiry_date'])
not_found_df['expiry_date'] = not_found_df['expiry_date'].dt.strftime('%Y-%m-%d')
print(not_found_df.to_string())
while True: pass
# print(not_found_df.to_string())
# while True: pass
printer("Zerodha instruments loaded.")
+1 -1
View File
@@ -388,7 +388,7 @@ class TradingTick(BaseModel):
"vwap": self.vwap,
"totVol": self.totVol,
"rcvdTs": self.rcvdTs.timestamp(),
"tradeTs": self.tradeTs.timestamp(),
"tradeTs": None if self.tradeTs is None else self.tradeTs.timestamp(),
"tradeTz": self.tradeTz,
"exchgTs": self.exchgTs.timestamp(),
"exchgTz": self.exchgTz