POST api/backtest/savebackmaster

Request Information

URI Parameters

None.

Body Parameters

BackMaster
NameDescriptionTypeAdditional information
backtest_id

integer

None.

backtest_strategy_name

string

None.

symbol_detail_id

integer

None.

from_date

date

None.

to_date

date

None.

balance

decimal number

None.

backtest_detail_id

integer

None.

sr_no

integer

None.

entry_date

date

None.

entry_time

date

None.

entry_type

string

None.

volume

decimal number

None.

price

decimal number

None.

sl

decimal number

None.

tp

decimal number

None.

commission

decimal number

None.

profit

decimal number

None.

comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "backtest_id": 1,
  "backtest_strategy_name": "sample string 2",
  "symbol_detail_id": 3,
  "from_date": "2026-01-07T12:08:23.6400367+05:30",
  "to_date": "2026-01-07T12:08:23.6400367+05:30",
  "balance": 6.0,
  "backtest_detail_id": 7,
  "sr_no": 8,
  "entry_date": "2026-01-07T12:08:23.6400367+05:30",
  "entry_time": "2026-01-07T12:08:23.6400367+05:30",
  "entry_type": "sample string 11",
  "volume": 12.0,
  "price": 13.0,
  "sl": 14.0,
  "tp": 15.0,
  "commission": 16.0,
  "profit": 17.0,
  "comment": "sample string 18"
}

application/xml, text/xml

Sample:
<Api.BackMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KeyGroupAPI.Models">
  <backtest_detail_id>7</backtest_detail_id>
  <backtest_id>1</backtest_id>
  <backtest_strategy_name>sample string 2</backtest_strategy_name>
  <balance>6</balance>
  <comment>sample string 18</comment>
  <commission>16</commission>
  <entry_date>2026-01-07T12:08:23.6400367+05:30</entry_date>
  <entry_time xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-01-07T06:38:23.6400367Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>330</d2p1:OffsetMinutes>
  </entry_time>
  <entry_type>sample string 11</entry_type>
  <from_date>2026-01-07T12:08:23.6400367+05:30</from_date>
  <price>13</price>
  <profit>17</profit>
  <sl>14</sl>
  <sr_no>8</sr_no>
  <symbol_detail_id>3</symbol_detail_id>
  <to_date>2026-01-07T12:08:23.6400367+05:30</to_date>
  <tp>15</tp>
  <volume>12</volume>
</Api.BackMaster>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.