Hello,

I need to be able to trade in the after hours of the market, and I've read that IB and Quantconnect support it. However, I cannot find a solid exmple on how to request trading hours.

This is what is in the documentation:

AddEquity(string ticker, Resolution resolution = Resolution.Minute, string market = Market.USA, bool fillDataForward = true, decimal leverage = 0m, bool extendedMarketHours = false)

Obviously this cannot be run as is. In Python, should the true and false arguments be strings or the native True  and False functions of Python? Also, when I run the code, I get an AttributeError : USA. 

I'm not doing something right, and I need to know how fix it. Any advice on what and what not to do when trading after hours would be much appriciated as well.

Thanks,

Malachi