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