Modified the position handling to fix a pricing bug, so that locally handled Portfolio values match those of OANDA (up to slippage).

This commit is contained in:
Michael Halls-Moore
2015-07-13 16:30:55 +01:00
parent be9ef2b54f
commit 675412c125
6 changed files with 73 additions and 60 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ if __name__ == "__main__":
events = queue.Queue()
equity = settings.EQUITY
# Trade "Cable"
pairs = ["GBPUSD"]
# Pairs to include in streaming data set
pairs = ["EURUSD", "GBPUSD"]
# Create the OANDA market price streaming class
# making sure to provide authentication commands