POST api/data/pattern/learn

Save raw OHLC pattern data

Request Information

URI Parameters

None.

Body Parameters

PatternDataInput
NameDescriptionTypeAdditional information
Timeframe

string

None.

Symbol

string

None.

SymbolName

string

None.

DecimalPlaces

integer

None.

IsBroadcasting

boolean

None.

Price

string

None.

PipSize

decimal number

None.

OHLCData

Collection of OHLC

None.

OHLCDataReference

Collection of OHLC

None.

ExpertKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Timeframe": "sample string 1",
  "Symbol": "sample string 2",
  "SymbolName": "sample string 3",
  "DecimalPlaces": 4,
  "IsBroadcasting": true,
  "Price": "sample string 6",
  "PipSize": 7.1,
  "OHLCData": [
    {
      "T": 1,
      "O": 2.1,
      "H": 3.1,
      "L": 4.1,
      "C": 5.1
    },
    {
      "T": 1,
      "O": 2.1,
      "H": 3.1,
      "L": 4.1,
      "C": 5.1
    }
  ],
  "OHLCDataReference": [
    {
      "T": 1,
      "O": 2.1,
      "H": 3.1,
      "L": 4.1,
      "C": 5.1
    },
    {
      "T": 1,
      "O": 2.1,
      "H": 3.1,
      "L": 4.1,
      "C": 5.1
    }
  ],
  "ExpertKey": "sample string 8"
}

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
Message

string

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Success": true
}