Hi One of my algo has to place order as soon as market opens (ideally sharp at 9:15:00), the sooner the better. I am using ubuntu. How can i synchronize my time to that of NSE/broker whatever works ? Right now my system time is ~200-600ms ahead of exchange.
If yes , then next question is that how can i sync my system time to this ? Due to RTT and jitter ? PS: not for HFT, just need one order shart at market open.
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 time to this ? Due to RTT and jitter ?
PS: not for HFT, just need one order shart at market open.