Trading The Overnight Session

View as MarkdownOpen in Claude

In the event a user would like to designate a trade to take place during the Overnight trading hours, the Order object must set ‘includeOvernight’ set to True and optionally set the ‘exchange’ field of Contract object to OVERNIGHT.

Routing exclusively to the Overnight market

Users that would like to route orders to Overnight without trading during the regular session must designate the exchange value of a Contract object as "OVERNIGHT".

contract = Contract()
contract.exchange = "OVERNIGHT"

Routing as Overnight+DAY

Users that would like to route orders to Overnight+DAY to trade during the day and the overnight session must set the Order Object’s includeOvernight value as True.

contract = Contract()
contract.exchange = "SMART"
order = Order()
order.includeOvernight = True
Orders routed to the OVERNIGHT exchange with order.includeOvernight = True will behave as "OVERNIGHT+DAY".