Closed hfont closed 1 year ago
Hello thank you for making this api available very grateful to you.
I've been using many functions but when I call api.positions() and api.orders() I get these errors, I don't know what it is, I did a search and found this khramkov/MQL5-JSON-API#11.
positions = api.positions() orders = api.orders()
print(positions) print(orders)
output
{"error":true,"lastError":"5040","description":"Damaged parameter of string type","function":"GetPositions"}
{"error":true,"lastError":"5040","description":"Damaged parameter of string type","function":"GetPositions"}
Sorry for the late response, thank you will update today
Hello thank you for making this api available very grateful to you.
I've been using many functions but when I call api.positions() and api.orders() I get these errors, I don't know what it is, I did a search and found this https://github.com/khramkov/MQL5-JSON-API/issues/11.
positions = api.positions() orders = api.orders()
print(positions) print(orders)
output
{"error":true,"lastError":"5040","description":"Damaged parameter of string type","function":"GetPositions"}
{"error":true,"lastError":"5040","description":"Damaged parameter of string type","function":"GetPositions"}