PUT api/TradeGroup/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

TradeGroup
NameDescriptionTypeAdditional information
Id

integer

None.

Description

string

None.

StrategyName

string

None.

SubType

string

None.

TradeGroupDate

date

None.

IsClosed

boolean

None.

SpreadCurveBias

string

None.

SpreadBias

string

None.

CurveBias

string

None.

TraderId

integer

None.

ClosedDate

date

None.

ParentId

integer

None.

StrategyId

integer

None.

LotId

integer

None.

Currency

string

None.

Factors

string

None.

InitialSpread

decimal number

None.

TargetSpread

decimal number

None.

Bucket

string

None.

IsInternal

boolean

None.

ForwardDate

date

None.

NonRepo

boolean

None.

Algo

boolean

None.

Strategy

Strategy

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Description": "sample string 2",
  "StrategyName": "sample string 3",
  "SubType": "sample string 4",
  "TradeGroupDate": "2019-05-20T19:27:42.409333+00:00",
  "IsClosed": true,
  "SpreadCurveBias": "sample string 5",
  "SpreadBias": "sample string 6",
  "CurveBias": "sample string 7",
  "TraderId": 1,
  "ClosedDate": "2019-05-20T19:27:42.409333+00:00",
  "ParentId": 1,
  "StrategyId": 1,
  "LotId": 1,
  "Currency": "sample string 8",
  "Factors": "sample string 9",
  "InitialSpread": 1.0,
  "TargetSpread": 1.0,
  "Bucket": "sample string 10",
  "IsInternal": true,
  "ForwardDate": "2019-05-20T19:27:42.409333+00:00",
  "NonRepo": true,
  "Algo": true,
  "Strategy": {
    "Id": 1,
    "Name": "sample string 2",
    "Legs": 64,
    "StrategyGroupId": 4,
    "IsInactive": true,
    "StrategyGroup": {
      "Name": "sample string 1",
      "Id": 2,
      "BusinessLineId": 3,
      "IsInactive": true,
      "BusinessLine": {
        "Id": 1,
        "Name": "sample string 2",
        "IsInactive": true
      }
    }
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.