GET api/Trades/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Trade
NameDescriptionTypeAdditional information
TradeID

integer

None.

SystemID

integer

None.

SecurityID

integer

None.

Symbol

string

None.

Position

integer

None.

Quantity

integer

None.

EntryTime

date

None.

ExitTime

date

None.

PriceBuy

decimal number

None.

PriceSell

decimal number

None.

CurrentGaines

decimal number

None.

MaxLoss

decimal number

None.

StrikePrice

decimal number

None.

Expiration

date

None.

PutCall

string

None.

OrderID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TradeID": 1,
  "SystemID": 2,
  "SecurityID": 3,
  "Symbol": "sample string 4",
  "Position": 5,
  "Quantity": 6,
  "EntryTime": "2019-04-21T13:24:16.3519332-07:00",
  "ExitTime": "2019-04-21T13:24:16.3519332-07:00",
  "PriceBuy": 1.0,
  "PriceSell": 1.0,
  "CurrentGaines": 1.0,
  "MaxLoss": 1.0,
  "StrikePrice": 7.0,
  "Expiration": "2019-04-21T13:24:16.3519332-07:00",
  "PutCall": "sample string 9",
  "OrderID": 10
}

application/xml, text/xml

Sample:
<Trade xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_API.Entities">
  <CurrentGaines>1</CurrentGaines>
  <EntryTime>2019-04-21T13:24:16.3519332-07:00</EntryTime>
  <ExitTime>2019-04-21T13:24:16.3519332-07:00</ExitTime>
  <Expiration>2019-04-21T13:24:16.3519332-07:00</Expiration>
  <MaxLoss>1</MaxLoss>
  <OrderID>10</OrderID>
  <Position>5</Position>
  <PriceBuy>1</PriceBuy>
  <PriceSell>1</PriceSell>
  <PutCall>sample string 9</PutCall>
  <Quantity>6</Quantity>
  <SecurityID>3</SecurityID>
  <StrikePrice>7</StrikePrice>
  <Symbol>sample string 4</Symbol>
  <SystemID>2</SystemID>
  <TradeID>1</TradeID>
</Trade>