TradingMotionAPI
Click here for a complete list of operations.
Systemia_GetHistoricRankingStats
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /api/webservice.asmx HTTP/1.1 Host: www.tradingmotion.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.tradingmotion.com/Systemia_GetHistoricRankingStats" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Systemia_GetHistoricRankingStats xmlns="http://www.tradingmotion.com/"> <SID>string</SID> <Session>string</Session> </Systemia_GetHistoricRankingStats> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Systemia_GetHistoricRankingStatsResponse xmlns="http://www.tradingmotion.com/"> <Systemia_GetHistoricRankingStatsResult> <Result>string</Result> <ErrorMessage>string</ErrorMessage> <ResponseData> <RankingStatsList> <RankingStat xsi:nil="true" /> <RankingStat xsi:nil="true" /> </RankingStatsList> </ResponseData> </Systemia_GetHistoricRankingStatsResult> </Systemia_GetHistoricRankingStatsResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /api/webservice.asmx HTTP/1.1 Host: www.tradingmotion.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Systemia_GetHistoricRankingStats xmlns="http://www.tradingmotion.com/"> <SID>string</SID> <Session>string</Session> </Systemia_GetHistoricRankingStats> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Systemia_GetHistoricRankingStatsResponse xmlns="http://www.tradingmotion.com/"> <Systemia_GetHistoricRankingStatsResult> <Result>string</Result> <ErrorMessage>string</ErrorMessage> <ResponseData> <RankingStatsList> <RankingStat xsi:nil="true" /> <RankingStat xsi:nil="true" /> </RankingStatsList> </ResponseData> </Systemia_GetHistoricRankingStatsResult> </Systemia_GetHistoricRankingStatsResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /api/webservice.asmx/Systemia_GetHistoricRankingStats?SID=string&Session=string HTTP/1.1 Host: www.tradingmotion.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <SystemResponseOfSystemiaRankingStats xmlns="http://www.tradingmotion.com/"> <Result>string</Result> <ErrorMessage>string</ErrorMessage> <ResponseData> <RankingStatsList> <RankingStat> <idSistema>int</idSistema> <Nombre>string</Nombre> <DiaAnalizado>string</DiaAnalizado> <TM_Rating>int</TM_Rating> <TM_Score>decimal</TM_Score> <TM_Score_Raw>decimal</TM_Score_Raw> <CAGR>decimal</CAGR> <rank_CAGR>long</rank_CAGR> <Rentabilidad1M>decimal</Rentabilidad1M> <Rentabilidad1M_negativa>decimal</Rentabilidad1M_negativa> <rank_Rentabilidad1M>long</rank_Rentabilidad1M> <Rentabilidad3M>decimal</Rentabilidad3M> <Rentabilidad3M_negativa>decimal</Rentabilidad3M_negativa> <rank_Rentabilidad3M>long</rank_Rentabilidad3M> <DDActual>decimal</DDActual> <rank_DDActual>long</rank_DDActual> <DDActual_nDias>int</DDActual_nDias> <rank_DDActual_nDias>long</rank_DDActual_nDias> <SharpeRatio>decimal</SharpeRatio> <rank_SharpeRatio>long</rank_SharpeRatio> <SortinoRatio>decimal</SortinoRatio> <rank_SortinoRatio>long</rank_SortinoRatio> <SterlingRatio>decimal</SterlingRatio> <rank_SterlingRatio>long</rank_SterlingRatio> <MARRatio>decimal</MARRatio> <rank_MARRatio>long</rank_MARRatio> <nSesionesOperadas>int</nSesionesOperadas> <rank_nSesionesOperadas>long</rank_nSesionesOperadas> <nSesionesAnalizadas>int</nSesionesAnalizadas> <rank_nSesionesAnalizadas>long</rank_nSesionesAnalizadas> <nDiasAuditado>int</nDiasAuditado> <rank_nDiasAuditado>long</rank_nDiasAuditado> <MathematicalExpectation>decimal</MathematicalExpectation> <rank_MathematicalExpectation>long</rank_MathematicalExpectation> <SumaRanks>long</SumaRanks> <SumaRanks_Raw>long</SumaRanks_Raw> <nSistemas>int</nSistemas> <nElementos>int</nElementos> </RankingStat> <RankingStat> <idSistema>int</idSistema> <Nombre>string</Nombre> <DiaAnalizado>string</DiaAnalizado> <TM_Rating>int</TM_Rating> <TM_Score>decimal</TM_Score> <TM_Score_Raw>decimal</TM_Score_Raw> <CAGR>decimal</CAGR> <rank_CAGR>long</rank_CAGR> <Rentabilidad1M>decimal</Rentabilidad1M> <Rentabilidad1M_negativa>decimal</Rentabilidad1M_negativa> <rank_Rentabilidad1M>long</rank_Rentabilidad1M> <Rentabilidad3M>decimal</Rentabilidad3M> <Rentabilidad3M_negativa>decimal</Rentabilidad3M_negativa> <rank_Rentabilidad3M>long</rank_Rentabilidad3M> <DDActual>decimal</DDActual> <rank_DDActual>long</rank_DDActual> <DDActual_nDias>int</DDActual_nDias> <rank_DDActual_nDias>long</rank_DDActual_nDias> <SharpeRatio>decimal</SharpeRatio> <rank_SharpeRatio>long</rank_SharpeRatio> <SortinoRatio>decimal</SortinoRatio> <rank_SortinoRatio>long</rank_SortinoRatio> <SterlingRatio>decimal</SterlingRatio> <rank_SterlingRatio>long</rank_SterlingRatio> <MARRatio>decimal</MARRatio> <rank_MARRatio>long</rank_MARRatio> <nSesionesOperadas>int</nSesionesOperadas> <rank_nSesionesOperadas>long</rank_nSesionesOperadas> <nSesionesAnalizadas>int</nSesionesAnalizadas> <rank_nSesionesAnalizadas>long</rank_nSesionesAnalizadas> <nDiasAuditado>int</nDiasAuditado> <rank_nDiasAuditado>long</rank_nDiasAuditado> <MathematicalExpectation>decimal</MathematicalExpectation> <rank_MathematicalExpectation>long</rank_MathematicalExpectation> <SumaRanks>long</SumaRanks> <SumaRanks_Raw>long</SumaRanks_Raw> <nSistemas>int</nSistemas> <nElementos>int</nElementos> </RankingStat> </RankingStatsList> </ResponseData> </SystemResponseOfSystemiaRankingStats>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /api/webservice.asmx/Systemia_GetHistoricRankingStats HTTP/1.1 Host: www.tradingmotion.com Content-Type: application/x-www-form-urlencoded Content-Length: length SID=string&Session=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <SystemResponseOfSystemiaRankingStats xmlns="http://www.tradingmotion.com/"> <Result>string</Result> <ErrorMessage>string</ErrorMessage> <ResponseData> <RankingStatsList> <RankingStat> <idSistema>int</idSistema> <Nombre>string</Nombre> <DiaAnalizado>string</DiaAnalizado> <TM_Rating>int</TM_Rating> <TM_Score>decimal</TM_Score> <TM_Score_Raw>decimal</TM_Score_Raw> <CAGR>decimal</CAGR> <rank_CAGR>long</rank_CAGR> <Rentabilidad1M>decimal</Rentabilidad1M> <Rentabilidad1M_negativa>decimal</Rentabilidad1M_negativa> <rank_Rentabilidad1M>long</rank_Rentabilidad1M> <Rentabilidad3M>decimal</Rentabilidad3M> <Rentabilidad3M_negativa>decimal</Rentabilidad3M_negativa> <rank_Rentabilidad3M>long</rank_Rentabilidad3M> <DDActual>decimal</DDActual> <rank_DDActual>long</rank_DDActual> <DDActual_nDias>int</DDActual_nDias> <rank_DDActual_nDias>long</rank_DDActual_nDias> <SharpeRatio>decimal</SharpeRatio> <rank_SharpeRatio>long</rank_SharpeRatio> <SortinoRatio>decimal</SortinoRatio> <rank_SortinoRatio>long</rank_SortinoRatio> <SterlingRatio>decimal</SterlingRatio> <rank_SterlingRatio>long</rank_SterlingRatio> <MARRatio>decimal</MARRatio> <rank_MARRatio>long</rank_MARRatio> <nSesionesOperadas>int</nSesionesOperadas> <rank_nSesionesOperadas>long</rank_nSesionesOperadas> <nSesionesAnalizadas>int</nSesionesAnalizadas> <rank_nSesionesAnalizadas>long</rank_nSesionesAnalizadas> <nDiasAuditado>int</nDiasAuditado> <rank_nDiasAuditado>long</rank_nDiasAuditado> <MathematicalExpectation>decimal</MathematicalExpectation> <rank_MathematicalExpectation>long</rank_MathematicalExpectation> <SumaRanks>long</SumaRanks> <SumaRanks_Raw>long</SumaRanks_Raw> <nSistemas>int</nSistemas> <nElementos>int</nElementos> </RankingStat> <RankingStat> <idSistema>int</idSistema> <Nombre>string</Nombre> <DiaAnalizado>string</DiaAnalizado> <TM_Rating>int</TM_Rating> <TM_Score>decimal</TM_Score> <TM_Score_Raw>decimal</TM_Score_Raw> <CAGR>decimal</CAGR> <rank_CAGR>long</rank_CAGR> <Rentabilidad1M>decimal</Rentabilidad1M> <Rentabilidad1M_negativa>decimal</Rentabilidad1M_negativa> <rank_Rentabilidad1M>long</rank_Rentabilidad1M> <Rentabilidad3M>decimal</Rentabilidad3M> <Rentabilidad3M_negativa>decimal</Rentabilidad3M_negativa> <rank_Rentabilidad3M>long</rank_Rentabilidad3M> <DDActual>decimal</DDActual> <rank_DDActual>long</rank_DDActual> <DDActual_nDias>int</DDActual_nDias> <rank_DDActual_nDias>long</rank_DDActual_nDias> <SharpeRatio>decimal</SharpeRatio> <rank_SharpeRatio>long</rank_SharpeRatio> <SortinoRatio>decimal</SortinoRatio> <rank_SortinoRatio>long</rank_SortinoRatio> <SterlingRatio>decimal</SterlingRatio> <rank_SterlingRatio>long</rank_SterlingRatio> <MARRatio>decimal</MARRatio> <rank_MARRatio>long</rank_MARRatio> <nSesionesOperadas>int</nSesionesOperadas> <rank_nSesionesOperadas>long</rank_nSesionesOperadas> <nSesionesAnalizadas>int</nSesionesAnalizadas> <rank_nSesionesAnalizadas>long</rank_nSesionesAnalizadas> <nDiasAuditado>int</nDiasAuditado> <rank_nDiasAuditado>long</rank_nDiasAuditado> <MathematicalExpectation>decimal</MathematicalExpectation> <rank_MathematicalExpectation>long</rank_MathematicalExpectation> <SumaRanks>long</SumaRanks> <SumaRanks_Raw>long</SumaRanks_Raw> <nSistemas>int</nSistemas> <nElementos>int</nElementos> </RankingStat> </RankingStatsList> </ResponseData> </SystemResponseOfSystemiaRankingStats>