Hey all,
I'm having trouble trying to figure out how to make an algorithm that will place an order at the open of a day and then will sell at the close based on certain requirements. At the moment, every minute it repeats my logic and will buy or sell. Any ideas on how to fix this?