GET api/Trades

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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-02-17T17:45:59.1148322-08:00",
    "ExitTime": "2019-02-17T17:45:59.1148322-08:00",
    "PriceBuy": 1.0,
    "PriceSell": 1.0,
    "CurrentGaines": 1.0,
    "MaxLoss": 1.0,
    "StrikePrice": 7.0,
    "Expiration": "2019-02-17T17:45:59.1148322-08:00",
    "PutCall": "sample string 9",
    "OrderID": 10
  },
  {
    "TradeID": 1,
    "SystemID": 2,
    "SecurityID": 3,
    "Symbol": "sample string 4",
    "Position": 5,
    "Quantity": 6,
    "EntryTime": "2019-02-17T17:45:59.1148322-08:00",
    "ExitTime": "2019-02-17T17:45:59.1148322-08:00",
    "PriceBuy": 1.0,
    "PriceSell": 1.0,
    "CurrentGaines": 1.0,
    "MaxLoss": 1.0,
    "StrikePrice": 7.0,
    "Expiration": "2019-02-17T17:45:59.1148322-08:00",
    "PutCall": "sample string 9",
    "OrderID": 10
  }
]

application/xml, text/xml

Sample:
<ArrayOfTrade xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_API.Entities">
  <Trade>
    <CurrentGaines>1</CurrentGaines>
    <EntryTime>2019-02-17T17:45:59.1148322-08:00</EntryTime>
    <ExitTime>2019-02-17T17:45:59.1148322-08:00</ExitTime>
    <Expiration>2019-02-17T17:45:59.1148322-08: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>
  <Trade>
    <CurrentGaines>1</CurrentGaines>
    <EntryTime>2019-02-17T17:45:59.1148322-08:00</EntryTime>
    <ExitTime>2019-02-17T17:45:59.1148322-08:00</ExitTime>
    <Expiration>2019-02-17T17:45:59.1148322-08: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>
</ArrayOfTrade>