Im developing an application, using the IB API, to automate my strategy for me. The strategy buys at, or near as possible, to the close. However, the price must be within a certain range. Now I could always use LOC orders to accomplish this. The problem is LOC orders have to be in 20 min before close and the price can change in that time. If such happens no trades will go off and basically I will be sitting on capital.
Anyway to the real question/point. Knowing all that above I was thinking of buying right before the close; perhaps that last 1 min to 30 seconds. Then comes the issue of timing the exact close. I could go off my system clock, which would be exact. So after all that I guess the question is:
How exact is the close? Does the market generally close exactly at 1600 EST or perhaps 30 seconds off? How does the nasdaq and NYSE differ, if any?
I wasnt sure if this thread should go in the trading forum or some other. Sorry to the mods if its wrong
Anyway to the real question/point. Knowing all that above I was thinking of buying right before the close; perhaps that last 1 min to 30 seconds. Then comes the issue of timing the exact close. I could go off my system clock, which would be exact. So after all that I guess the question is:
How exact is the close? Does the market generally close exactly at 1600 EST or perhaps 30 seconds off? How does the nasdaq and NYSE differ, if any?
I wasnt sure if this thread should go in the trading forum or some other. Sorry to the mods if its wrong
