Method to know when Trading is closed for the day

anupama
Sir, kindly tell me whether there is any method which returns the value "true" or "false" to show the trading is closed for the day?
  • sujith
    One of the solutions is to hardcode the calendar in your program. You can check out holidays list here.
    Apart from this, Saturday and Sunday are market holidays.
Sign In or Register to comment.