`getTechnicals`

The getTechnicals API provides technical data and statistics for equities, indices, futures, currencies, cryptocurrencies and mutual funds based on symbol.

All APIsA symbol or code that identifies a financial instrument.

Type

Example

YHOO,GOOG

The fields requested.

Type

Example

averageVolumeFiveDay,averageVolumeTwentyDay,averageVolumeFiftyDay

Name / Requirement

Description

Type

always returned

A symbol or code that identifies a financial instrument.

A sequence of characters. (example: GOOG)

always returned

The average price of the instrument over 5 days.

A numeric type defining a number with fractional parts. (example: 2.14)

always returned

The average price of the instrument over 20 days.

A numeric type defining a number with fractional parts. (example: 2.14)

always returned

The average price of the instrument over 50 days.

A numeric type defining a number with fractional parts. (example: 2.14)

always returned

The average price of the instrument over 100 days.

A numeric type defining a number with fractional parts. (example: 2.14)

always returned

The average price of the instrument over 200 days.

A numeric type defining a number with fractional parts. (example: 2.14)

always returned

The average price of the instrument since the start of the year.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price over 5-days

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price over 20-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price over 50-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price over 100-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price over 200-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price since the start of the year.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price over 1 month.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price over 3 months.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price over 6 months.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price over 9 months.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price over 52 weeks.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The change in price over 2 years.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price over 5-days

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price over 20-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price over 50-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price over 100-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price over 200-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price since the start of the year.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price over 1 month.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price over 3 months.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price over 6 months.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price over 9 months.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price over 52 weeks.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The percentage change in price over 2 years.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The average daily volume calculated over the past 5-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The average daily volume calculated over the past 20-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The average daily volume calculated over the past 50-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The average daily volume calculated over the past 100-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The average daily volume calculated over the past 200-days.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The average daily volume calculated since the start of the year.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 9-day raw stochastic indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 14-day raw stochastic indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 20-day raw stochastic indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 50-day raw stochastic indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 100-day raw stochastic indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 9-day stochastic %k indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 14-day stochastic %k indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 20-day stochastic %k indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 50-day stochastic %k indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 100-day stochastic %k indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 9-day stochastic %d indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 14-day stochastic %d indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 20-day stochastic %d indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 50-day stochastic %d indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 100-day stochastic %d indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 9-day average true range indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 14-day average true range indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 20-day average true range indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 50-day average true range indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 100-day average true range indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 9-day relative strength indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 14-day relative strength indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 20-day relative strength indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 50-day relative strength indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 100-day relative strength indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 9-day percent R indicator

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 14-day percent R indicator

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 20-day percent R indicator

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 50-day percent R indicator

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A 100-day percent R indicator

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The 9-day historic or realized volatility.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The 14-day historic or realized volatility.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The 20-day historic or realized volatility.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The 50-day historic or realized volatility.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The 100-day historic or realized volatility.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The 9-day moving average convergence/divergence indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The 14-day moving average convergence/divergence indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The 20-day moving average convergence/divergence indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The 50-day moving average convergence/divergence indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The 100-day moving average convergence/divergence indicator.

A numeric type defining a number with fractional parts. (example: 2.14)

always returned

The standard deviation using the past 20-days of data.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The one year return on the ETF

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The three year return on the ETF

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The five year return on the ETF

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The ten year return on the ETF

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

Pivot Point

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

Pivot Point 1st level resistance.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

Pivot Point 2nd level resistance

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

Pivot Point 1st level support

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

Pivot Point 2nd level support

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

38.2% Fibonacci Retracement from 4 week high.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

38.2% Fibonacci Retracement from 4 week low.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

50% Fibonacci Retracement from 4 week high/low.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

38.2% Fibonacci Retracement from 13 week high.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

38.2% Fibonacci Retracement from 13 week low.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

50% Fibonacci Retracement from 13 week high/low.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

38.2% Fibonacci Retracement from 52 week high.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

38.2% Fibonacci Retracement from 52 week low.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

50% Fibonacci Retracement from 52 week high/low

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

The standard deviation using the past year of data.

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A numeric type defining a number with fractional parts. (example: 2.14)

as requested

A numeric type defining a number with fractional parts. (example: 2.14)

200

OK

Success

400

Bad Request

The request was invalid, please see the message for more information.

500

Internal Server Error

Something is not working correctly, please contact support.

GET

GET https://ondemand.websol.barchart.com/getTechnicals.json?apikey=YOUR_API_KEY&symbols=YHOO%2CGOOG&fields=averageVolumeFiveDay%2CaverageVolumeTwentyDay%2CaverageVolumeFiftyDay

Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getTechnicals.json

Host: ondemand.websol.barchart.com

Content-Type: application/x-www-form-urlencoded

Content-Length: length

apikey=YOUR_API_KEY&symbols=YHOO%2CGOOG&fields=averageVolumeFiveDay%2CaverageVolumeTwentyDay%2CaverageVolumeFiftyDay

Response

```
{
"status": {
"code": 200,
"message": "Success."
},
"results": [
{
"symbol": "YHOO",
"movingAverageFiveDay": null,
"movingAverageTwentyDay": null,
"movingAverageFiftyDay": null,
"movingAverageOneHundredDay": null,
"movingAverageTwoHundredDay": null,
"movingAverageYTD": null,
"averageVolumeFiveDay": null,
"averageVolumeTwentyDay": null,
"averageVolumeFiftyDay": null,
"standardDeviation": null
},
{
"symbol": "GOOG",
"movingAverageFiveDay": 1129.36,
"movingAverageTwentyDay": 1146.75,
"movingAverageFiftyDay": 1327.56,
"movingAverageOneHundredDay": 1341.45,
"movingAverageTwoHundredDay": 1267.33,
"movingAverageYTD": 1349.36,
"averageVolumeFiveDay": 2515840,
"averageVolumeTwentyDay": 3319900,
"averageVolumeFiftyDay": 2482234,
"standardDeviation": 0.26
}
]
}
```

GET

GET https://ondemand.websol.barchart.com/getTechnicals.xml?apikey=YOUR_API_KEY&symbols=YHOO%2CGOOG&fields=averageVolumeFiveDay%2CaverageVolumeTwentyDay%2CaverageVolumeFiftyDay

Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getTechnicals.xml

Host: ondemand.websol.barchart.com

Content-Type: application/x-www-form-urlencoded

Content-Length: length

apikey=YOUR_API_KEY&symbols=YHOO%2CGOOG&fields=averageVolumeFiveDay%2CaverageVolumeTwentyDay%2CaverageVolumeFiftyDay

Response

```
<?xml version="1.0" encoding="utf-8"?>
<getTechnicals>
<status>
<code>200</code>
<message>Success.</message>
</status>
<item>
<symbol>YHOO</symbol>
<movingAverageFiveDay></movingAverageFiveDay>
<movingAverageTwentyDay></movingAverageTwentyDay>
<movingAverageFiftyDay></movingAverageFiftyDay>
<movingAverageOneHundredDay></movingAverageOneHundredDay>
<movingAverageTwoHundredDay></movingAverageTwoHundredDay>
<movingAverageYTD></movingAverageYTD>
<averageVolumeFiveDay></averageVolumeFiveDay>
<averageVolumeTwentyDay></averageVolumeTwentyDay>
<averageVolumeFiftyDay></averageVolumeFiftyDay>
<standardDeviation></standardDeviation>
</item>
<item>
<symbol>GOOG</symbol>
<movingAverageFiveDay>1129.36</movingAverageFiveDay>
<movingAverageTwentyDay>1146.75</movingAverageTwentyDay>
<movingAverageFiftyDay>1327.56</movingAverageFiftyDay>
<movingAverageOneHundredDay>1341.45</movingAverageOneHundredDay>
<movingAverageTwoHundredDay>1267.33</movingAverageTwoHundredDay>
<movingAverageYTD>1349.36</movingAverageYTD>
<averageVolumeFiveDay>2515840</averageVolumeFiveDay>
<averageVolumeTwentyDay>3319900</averageVolumeTwentyDay>
<averageVolumeFiftyDay>2482234</averageVolumeFiftyDay>
<standardDeviation>0.26</standardDeviation>
</item>
</getTechnicals>
```

GET

GET https://ondemand.websol.barchart.com/getTechnicals.csv?apikey=YOUR_API_KEY&symbols=YHOO%2CGOOG&fields=averageVolumeFiveDay%2CaverageVolumeTwentyDay%2CaverageVolumeFiftyDay

Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getTechnicals.csv

Host: ondemand.websol.barchart.com

Content-Type: application/x-www-form-urlencoded

Content-Length: length

apikey=YOUR_API_KEY&symbols=YHOO%2CGOOG&fields=averageVolumeFiveDay%2CaverageVolumeTwentyDay%2CaverageVolumeFiftyDay

Response

```
symbol,movingAverageFiveDay,movingAverageTwentyDay,movingAverageFiftyDay,movingAverageOneHundredDay,movingAverageTwoHundredDay,movingAverageYTD,averageVolumeFiveDay,averageVolumeTwentyDay,averageVolumeFiftyDay,standardDeviation
"YHOO","","","","","","","","","",""
"GOOG","1129.36","1146.75","1327.56","1341.45","1267.33","1349.36","2515840","3319900","2482234","0.26"
```

```
<?php
$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');
$params = [
'apikey' => 'YOUR_API_KEY',
'symbols' => 'YHOO,GOOG',
'fields' => 'averageVolumeFiveDay,averageVolumeTwentyDay,averageVolumeFiftyDay',
];
$result = $ondemand->getTechnicals($params);
var_dump($result);
```

```
Dim ondemand
Dim result
Set ondemand = Server.CreateObject("MSSOAP.SoapClient30")
ondemand.ClientProperty("ServerHTTPRequest") = True
ondemand.MSSoapInit("https://ondemand.websol.barchart.com/service?wsdl")
Set result = ondemand.getTechnicals("YOUR_API_KEY", "YHOO,GOOG", "averageVolumeFiveDay,averageVolumeTwentyDay,averageVolumeFiftyDay")
```

```
use SOAP::Lite;
use SOAP::WSDL;
my $ondemand = SOAP::Lite
-> service('https://ondemand.websol.barchart.com/service?wsdl');
my $result = $ondemand->getTechnicals('YOUR_API_KEY', 'YHOO,GOOG', 'averageVolumeFiveDay,averageVolumeTwentyDay,averageVolumeFiftyDay');
print $result;
```

```
from suds.client import Client
ondemand = Client('https://ondemand.websol.barchart.com/service?wsdl')
result = client.service.getTechnicals('YOUR_API_KEY', 'YHOO,GOOG', 'averageVolumeFiveDay,averageVolumeTwentyDay,averageVolumeFiftyDay')
print result
```

```
require 'savon'
ondemand = Savon.client(wsdl: 'https://ondemand.websol.barchart.com/service?wsdl')
response = ondemand.call(
:getTechnicals,
message: {
apikey: 'YOUR_API_KEY',
symbols: 'YHOO,GOOG',
fields: 'averageVolumeFiveDay,averageVolumeTwentyDay,averageVolumeFiftyDay',
}
)
response.body
```