Hi Team , Required your help , i am facing issues in my program , there is difference of 2 sec with

RL0520
Hi Team , Required your help , i am facing issues in my program , there is difference of 2 sec with my program and kite trading system,due to this if buy/sell signal generated ,it hit in system late by 2 sec , I have kept time sleep ting 5 sec,for ex if buy signal comes at 3800 , it goes in the system at 3803 .
  • tonystark
    You can measure the time required to execute your code using methods described here. I would suggest you profile your code like that to figure out which part of your code takes more time to execute.
Sign In or Register to comment.