Modified heartbeat comment in trading.py. Also added a script in the /scripts directory that generates simulated forex tick data in the style of Dukascopy.

This commit is contained in:
Michael Halls-Moore
2015-05-27 18:10:55 +01:00
parent 40eeecf282
commit 17b36c5def
2 changed files with 81 additions and 1 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ if __name__ == "__main__":
# Set the number of decimal places to 2
getcontext().prec = 2
heartbeat = 0.0 # Half a second between polling
heartbeat = 0.0 # Time in seconds between polling
events = queue.Queue()
equity = settings.EQUITY