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:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user