Capacity Trade (CT)
Capacity Trade (CT)
The following diagram describes the structure of a Capacity Trade:

The CapacitySchedule structure is identical to the structure described previously in this document. The submission of a trade requires a patching trade to be submitted by the counter party. The following table describes the required fields:
| Element | Req? | Datatype | Description | Values | 
|---|---|---|---|---|
| startTime | K | dateTime | Start time for bid | Valid start hour boundary for trade date | 
| endTime | K | dateTime | End time for bid | Valid end hour boundary for trade date | 
| externalId | N | string | External ID | QSE supplied | 
| buyer | K | string | Trade buyer | Valid QSE | 
| seller | K | string | Trade seller | Valid QSE | 
| otherPartySubmitted | N | Boolean | For querying purposes only: True if trade was entered by other party | true (default) or false | 
| tradeID | N | string | reserved for future use | |
| CapacitySchedule/startTime | N | dateTime | not used | not used | 
| CapacitySchedule/endTime | N | dateTime | not used | not used | 
| CapacitySchedule/ TmPoint/time | Y | dateTime | Absolute time for beginning of interval | Valid time within the trading date | 
| CapacitySchedule/ TmPoint/ending | N | dateTime | Absolute time for end of interval | Valid time within the trading date | 
| CapacitySchedule/ TmPoint/value1 | Y | float | Megawatts | >= 0 | 
The following is an XML example for a CapacityTrade:
<BidSet xmlns="http://www.ercot.com/schema/2007-06/nodal/ews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ercot.com/schema/2007-06/nodal/ews ErcotTransactions.xsd">
    <tradingDate>2008-01-01</tradingDate>
    <status/>
    <mode/>
    <CapacityTrade>
        <startTime>2008-01-01T00:00:00-05:00</startTime>
        <endTime>2008-01-02T00:00:00-05:00</endTime>
        <marketType>DAM</marketType>
        <buyer>AEN</buyer>
        <seller>LCRA</seller>
        <tradeID>TradeID234</tradeID>
        <CapacitySchedule>
            <TmPoint>
                <time>2008-01-01T00:00:00-05:00</time>
                <ending>2008-01-02T00:00:00-05:00</ending>
                <value1>88</value1>
            </TmPoint>
        </CapacitySchedule>
    </CapacityTrade>
</BidSet>
And the corresponding response:
<ns1:BidSet xmlns:ns1="http://www.ercot.com/schema/2007-06/nodal/ews">
    <ns1:tradingDate>2008-06-14</ns1:tradingDate>
    <ns1:CapacityTrade>
        <ns1:mRID>AEN.20080614.CT.AEN.LCRA</ns1:mRID>
        <ns1:status>ACCEPTED</ns1:status>
        <ns1:error>
            <ns1:severity>INFORMATIVE</ns1:severity>
            <ns1:text>Successfully processed the ERCOT Capacity Trade.</ns1:text>
        </ns1:error>
    </ns1:CapacityTrade>
</ns1:BidSet>