zoome0215 / predictBO

Predicting Binary Option in Highlow Australia's demotrade using tensorflow (or other machine learning algorithms). This project is very incomplete. Please help!
GNU General Public License v3.0
24 stars 14 forks source link

Source file. #4

Closed oakniiv closed 6 years ago

oakniiv commented 6 years ago

def initialization(interval,periodint,currvaltext): print 'now initializing for interval =',interval,'minutes...' time_list = [] val_list = [] for j in range(0,int(interval*60/periodint)): currval = float(currvaltext.text) time_list.extend([datetime.now()]) val_list.extend([currval]) if (j*periodint % 60) == 0: print j*periodint,'seconds elapsed' time.sleep(periodint) return time_list,np.squeeze(np.array([val_list])) print 'done initializing'

where all of these things located, where does "periodint" come from, how does the program know what is meant by this, where was it defined, val_list for loading last 15 minutes of data, where is the code located that says how to collect the data from last 15 minutes and what to do with it

interval = 15 #mins betinterval = 5 #mins periodint = 2 #seconds maxmin = 60*50 waittime = 60*5 # in seocnds

I want to modify this for example from seconds to hours, which file is this located in, where does it say to the program what betinterval=5 does?