Fix price parsing
This commit is contained in:
@@ -86,7 +86,7 @@ class OANDAExchange(BaseExchange):
|
||||
print("Positions", response)
|
||||
for item in response["itemlist"]:
|
||||
item["account"] = self.account.name
|
||||
item["account_id"] = self.account_id
|
||||
item["account_id"] = self.account.id
|
||||
item["unrealized_pl"] = float(item["unrealized_pl"])
|
||||
items.append(item)
|
||||
return (True, items)
|
||||
|
||||
Reference in New Issue
Block a user