Lesson 3 Multiple orders questions
Posted: Wed May 14, 2014 12:02 am
I am working with lesson 3 using Delphi and I am wondering how to open a order every day at 8:00 weather a previous position from a prior day is still open or not . It will not do this because of line:
(OrdersTotal = 0)
I tried changing it to (OrdersTotal < 100), or (OrdersTotal >1), but then at 8:00 it opens 30 orders for some reason as if for every tick or minute it continues to open a order until the 8:00 hour is over.
Any help is greatly appreciated!!!
(OrdersTotal = 0)
I tried changing it to (OrdersTotal < 100), or (OrdersTotal >1), but then at 8:00 it opens 30 orders for some reason as if for every tick or minute it continues to open a order until the 8:00 hour is over.
Any help is greatly appreciated!!!