Skip to content

User log message#

About#

User log message

Fields#

Name Type Required Description
time string Yes event time
symbol string symbol traded
strategyId string id of the strategy event relates to
strategyName string name of the strategy event relates to
positionId string position id event relates to
side string side of the trade event relates to = [buy, sell, close]
type string type of the trade event relates to = [market, limit, stop]
openPrice number open price for limit and stop orders
level string Yes log message level = [INFO, WARN, ERROR]
message string Yes log message

Example#

{
  "time": "2020-08-24T00:00:00.000Z",
  "symbol": "AUDUSD",
  "strategyId": "nIMn",
  "strategyName": "Demo strategy",
  "positionId": "+apNW3",
  "side": "buy",
  "type": "market",
  "openPrice": 1.02371,
  "level": "INFO",
  "message": "Received a buy signal from Demo strategy strategy"
}

Usages#