Update README.md

This commit is contained in:
Nikolai
2019-06-18 22:21:39 +03:00
committed by GitHub
parent 2b8c1cf55e
commit b708aac846
+20 -20
View File
@@ -52,32 +52,32 @@ The idea is to send requests via `System socket` and recieve results/errors via
``` ```
{ {
"action": None, "action": null,
"actionType": None, "actionType": null,
"symbol": None, "symbol": null,
"chartTF": None, "chartTF": null,
"fromDate": None, "fromDate": null,
"toDate": None, "toDate": null,
"id": None, "id": null,
"magic": None, "magic": null,
"volume": None, "volume": null,
"price": None, "price": null,
"stoploss": None, "stoploss": null,
"takeprofit": None, "takeprofit": null,
"expiration": None, "expiration": null,
"deviation": None, "deviation": null,
"comment": None "comment": null
} }
``` ```
Check out the available combinations of `action` and `actionType`: Check out the available combinations of `action` and `actionType`:
action | actionType | Description | action | actionType | Description |
-----------|----------------------|----------------------------| -----------|----------------------|----------------------------|
CONFIG | None | Set script configuration | CONFIG | null | Set script configuration |
ACCOUNT | None | Get account settings | ACCOUNT | null | Get account settings |
BALANCE | None | Get current balance | BALANCE | null | Get current balance |
POSITIONS | None | Get current open positions | POSITIONS | null | Get current open positions |
ORDERS | None | Get current open orders | ORDERS | null | Get current open orders |
HISTORY | DATA | Get data history | HISTORY | DATA | Get data history |
HISTORY | TRADES | Get trades history | HISTORY | TRADES | Get trades history |
TRADE | ORDER_TYPE_BUY | Buy market | TRADE | ORDER_TYPE_BUY | Buy market |