@autotrading `So from where do we get the latest list which shows all the Inclusions and Exclusions of Stocks from different NSE Indices?` ->
niftyindices.com/reports: Change to `Archives of D/M Reports` --> `Indices Market Capitalization..…
Ok. u mean somthing like this ?
def synchronize_system_time(host='https://api.kite.trade'):
response = requests.head(host)
server_time_str = response.headers['Date']
.....
If yes , then next question is that how can i sync my system …
Ok . that's fine. Can we have the update timestamped with microsecond granularity ? It would simplify my order state mgmt. I am sure it would help other traders.
in context of ws msg, i am referring to the one with status as 'CANCELLED'. Btw both the updates from oms has status as CANCELLED. only diff is one has pending qty = qty to be canceled and other has pending = 0
Ok .I was trying to compare relying on WS updates vs kite.orders(). What do u think ? i feel ws update will be faster and api call will be an overhead.
You can get full sector, sub-sector, etc. data from NSE website. jdata comes to rescue.
I have a fully automated system in python. Make a script public now.
See if u can use the function download_equity_data_from_nse
Take care NOT TO BOMBARD THE …
I am also looking for open source trading fwk. I have these 4 shortlisted so far:
1. BackTrader
2. PyAlgoTrade
3. pylivetrader (zipline based)
4. Maybe qstrader
i am still trying to figure out which one will be best for NSE+Kite API
Understood, if main thread stops, all other daemon threads also eventually dies. [general principal]
Does it mean terminating kws connections explicitly is pointless, as it will die anyway as main exits ?
In any case, if i have some post process …
Ok. I looked into the thread and tried to corelate with my code.
I am running multiple websockets in threaded=True mode. This reactor not running error is only seen when I try to close all (multiple) websockets . The issue is NOT seen when i use s…
Thanks for responding.
But https://kite.trade/docs/pykiteconnect/v4/#kiteconnect.KiteTicker states:
on_message(ws, payload, is_binary) - Triggered when message is received from the server.
payload - Raw response from the server (either text …