|a||The action to take. Valid actions are: |
– open – open a new position
– close – close an existing position
– update – update stoploss/take profit level on open position
|c||The currency being traded. This should be the same as what your MT4 broker supports – e.g. EURUSD, JPYUSD, etc…|
Command against all positions supported with c=all.
|q||The quantity to buy or sell.|
Current only supports quantity in lots. Min/Max lots are not being checked atm but will be coming.
Partial closes are supported, a percentage is required for these scenarios. Qty will be rounded to nearest lot size. Note: Partial closes will move stoploss on remaining position to entry