1. add checks
SafetyTripwire - already done
Age - to be implemented
Flag - to be implemented
we define the path of flag file in variable and script will check flags;
buy order only if all flags are True
2. modify coinigy script to keep running only for 1 url
a. read indicators every 5 seconds and store data in text file (no historical data needed) [login to view URL]
b. set flags in text file [login to view URL]
3. Cancel buy order if
check 1 : age > age defined in variable or
Check 2 latest price - buyprice > variable