(20250407) Added support for Indices by removing the constaint for having a trade timestamp since indices cannot be traded directly and won't have a trade timestamp.
This commit is contained in:
@@ -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.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user