GET api/Share_Performance
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
AccountPerformanceClass| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountName | string |
None. |
|
| AccountGUID | string |
None. |
|
| AccountValue | decimal number |
None. |
|
| AccountValue_Formated | string |
None. |
|
| PL_Total | decimal number |
None. |
|
| PL_Total_Formated | string |
None. |
|
| PL_Average | decimal number |
None. |
|
| PL_Average_Formated | string |
None. |
|
| AverageWinningTrade | decimal number |
None. |
|
| AverageWinningTrade_Formatted | string |
None. |
|
| AverageLossingTrade | decimal number |
None. |
|
| AverageLossingTrade_Formatted | string |
None. |
|
| TotalNumberOfTrades | integer |
None. |
|
| TotalWinningTrades | integer |
None. |
|
| TotalLossingTrades | integer |
None. |
|
| TotalCommission | decimal number |
None. |
|
| TotalFees | decimal number |
None. |
|
| TotalCommissionAndFees | decimal number |
None. |
|
| TotalCommissionAndFees_Formated | string |
None. |
|
| LargestGain | decimal number |
None. |
|
| LargestGainGUID | string |
None. |
|
| LargestLost | decimal number |
None. |
|
| LargestLostGUID | string |
None. |
|
| ROI | decimal number |
None. |
|
| RiskFactor | decimal number |
None. |
|
| AverageHoldTimeWinning | decimal number |
None. |
|
| AverageHoldTimeLossing | decimal number |
None. |
|
| TotalNumberOfLegs | integer |
None. |
|
| PL_Open | decimal number |
None. |
|
| PL_Closed | decimal number |
None. |
|
| TotalNumberOpenTrades | integer |
None. |
|
| TotalNumberClosedTrades | integer |
None. |
|
| TotalCash | decimal number |
None. |
|
| TotalCash_Formated | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccountName": "sample string 1",
"AccountGUID": "sample string 2",
"AccountValue": 3.0,
"AccountValue_Formated": "sample string 4",
"PL_Total": 5.0,
"PL_Total_Formated": "sample string 6",
"PL_Average": 7.0,
"PL_Average_Formated": "sample string 8",
"AverageWinningTrade": 9.0,
"AverageWinningTrade_Formatted": "sample string 10",
"AverageLossingTrade": 11.0,
"AverageLossingTrade_Formatted": "sample string 12",
"TotalNumberOfTrades": 13,
"TotalWinningTrades": 14,
"TotalLossingTrades": 15,
"TotalCommission": 16.0,
"TotalFees": 17.0,
"TotalCommissionAndFees": 18.0,
"TotalCommissionAndFees_Formated": "sample string 19",
"LargestGain": 20.0,
"LargestGainGUID": "sample string 21",
"LargestLost": 22.0,
"LargestLostGUID": "sample string 23",
"ROI": 24.0,
"RiskFactor": 25.0,
"AverageHoldTimeWinning": 26.0,
"AverageHoldTimeLossing": 27.0,
"TotalNumberOfLegs": 28,
"PL_Open": 29.0,
"PL_Closed": 30.0,
"TotalNumberOpenTrades": 31,
"TotalNumberClosedTrades": 32,
"TotalCash": 33.0,
"TotalCash_Formated": "sample string 34"
}
application/xml, text/xml
Sample:
<modCharts.AccountPerformanceClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TpmUtils"> <AccountGUID>sample string 2</AccountGUID> <AccountName>sample string 1</AccountName> <AccountValue>3</AccountValue> <AccountValue_Formated>sample string 4</AccountValue_Formated> <AverageHoldTimeLossing>27</AverageHoldTimeLossing> <AverageHoldTimeWinning>26</AverageHoldTimeWinning> <AverageLossingTrade>11</AverageLossingTrade> <AverageLossingTrade_Formatted>sample string 12</AverageLossingTrade_Formatted> <AverageWinningTrade>9</AverageWinningTrade> <AverageWinningTrade_Formatted>sample string 10</AverageWinningTrade_Formatted> <LargestGain>20</LargestGain> <LargestGainGUID>sample string 21</LargestGainGUID> <LargestLost>22</LargestLost> <LargestLostGUID>sample string 23</LargestLostGUID> <PL_Average>7</PL_Average> <PL_Average_Formated>sample string 8</PL_Average_Formated> <PL_Closed>30</PL_Closed> <PL_Open>29</PL_Open> <PL_Total>5</PL_Total> <PL_Total_Formated>sample string 6</PL_Total_Formated> <ROI>24</ROI> <RiskFactor>25</RiskFactor> <TotalCash>33</TotalCash> <TotalCash_Formated>sample string 34</TotalCash_Formated> <TotalCommission>16</TotalCommission> <TotalCommissionAndFees>18</TotalCommissionAndFees> <TotalCommissionAndFees_Formated>sample string 19</TotalCommissionAndFees_Formated> <TotalFees>17</TotalFees> <TotalLossingTrades>15</TotalLossingTrades> <TotalNumberClosedTrades>32</TotalNumberClosedTrades> <TotalNumberOfLegs>28</TotalNumberOfLegs> <TotalNumberOfTrades>13</TotalNumberOfTrades> <TotalNumberOpenTrades>31</TotalNumberOpenTrades> <TotalWinningTrades>14</TotalWinningTrades> </modCharts.AccountPerformanceClass>