Developer: Andrew Palladino
Date: 10/23/2017
Description:
The strategy will buy over extended price conditions using the following criteria:
Suppose we are interested in capturing the total drop in points between two times during a session.
The times are defaulted to 9:30 AM and 3:45 PM.
The drop has to exceed a threshold set by the user, which is currently set to 50 cents.
If the current drop between the two time sessions exceeds 50 cents, then a buy limit is set at a multiple of the current drop of the day. For example, if the drop is 1 dollar, a buy limit is set at K*(1 dollar) away from close of the day. K is a multiple set by the user.
Once the buy limit is triggered, the strategy will have a target and stop. Current defaults are 90 cents for both.
If the order doesn't get hit before 12 PM of the following day, it will cancel. Cancel time is also set by the user.
The strategy settings will work on AAPL m15 time frame. Parameters will need to change for any other ticker/time frame combination.