Why is this simple Python code not working?
Ricardo Dacosta:
Any ideas? It does initialize successfully but I end up with
Initialization successful
{'action': 1, 'symbol': '6S_M', 'volume': 3, 'type': 1, 'sl': 1.15105, 'comment': 'python donbk trade entry'}
Order execution result: None
Order execution failed for symbol.
Process finished with exit code 0
Nevermind. Just realized the volume must be in float type and not integer. All good now.
Any ideas? It does initialize successfully but I end up with
Initialization successful
{'action': 1, 'symbol': '6S_M', 'volume': 3, 'type': 1, 'sl': 1.15105, 'comment': 'python donbk trade entry'}
Order execution result: None
Order execution failed for symbol.
Process finished with exit code 0