EODData Chart Documentation


Table of Contents

Section 1: Parameters

1.1 Mandatory Parameters
1.2 Symbol Comparison Options
1.3 Data Options
1.4 Display Options
1.5 Deprecated Options (backward compatibilty)

Section 2: Examples

Section 1: Parameters

The charting engine is highly customisable based on the query string . This is case sensitive.

1.1 Mandatory Parameters

The following are required by the charting engine:

Key Definition
s Symbol Code
The symbol code to be used.
e Exchange Code
The exchange code to be used.

1.2 Symbol Comparison Options

The following are options used for Symbol Comparison:

Key Definition
cp Symbol Comparison
Enable Symbol Comparison. By default, comparison is off.

The following are the valid values:
  • 0 - Off
  • 1 - On
cps Symbol Code
The symbol code to be used for comparison.
cpe Exchange Code
The exchange code to be used for comparison.
lc Symbol Comparison Line Color
This will draw the line of a Symbol Comparison with the specified color. This must be in hexadecimal format.

1.3 Data Options

The following are data options of the charting engine:

Key Definition
sd Start Date
The start date of the data. This must be in ddMMyyyy format.
ed End Date
The end date of the data. This must be in ddMMyyyy format.
t Auto Scale Display
If set to on, Chart automatically displays X number of days relative to the width of the chart.
This overwrites the sd adn ed parameters.
n Number of days
Explicitely specify the number of days to display. This overwrites the t, sd adn ed parameters.
b Price Brand
Adds a Price Brand to the chart.

The following are the valid values:
  • BB - Bollinger Band
  • DC - Donchian Channel
  • Envelop - Price Envelop
p Period
This determines the period of the data in the chart. By default, period is set to End of Day.

The following are the valid values:
  • 1 - 1 Minute
  • 5 - 10 Minute
  • 15 - 15 Minute
  • 30 - 30 Minute
  • h - h Minute
  • i - Intraday (Deprecated)
bs Chart Type
This determines the type of chart generated. The default generation is OHLC.

The following are the valid values:
  • OHLC
  • Candle
  • Close
  • 0 - OHLC (backward compatibility)
  • 1 - Candle (backward compatibility)
  • 2 - Close (backward compatibility)
i Technical Inicator(s)
This adds Technical Indicators to the chart. Multiple indicators can be seperated by a -.

The following are the valid values:
  • RSI - Relative Strength Index
  • StochRSI - Stochastic Relative Strength Index
  • MACD - Moving Average Convergence-Divergence
  • FStoch - Fast Stochastic
  • SStoch - Slow Stochastic
  • ATR - Average True Range
  • ADX - Average Directional Index
  • DCW - Donchian Channel Width
  • BBW - Bollinger Band Width
  • DPO - Detrended Price Oscillator
  • PVT - Price Volumne Trend
  • Momentum - Momentum
  • Performance - Performance
  • ROC - Rate of Change
  • OBV - On Balance Volume
  • AccDist - Accumulation/Distribution
  • CLV - Close Location Value
  • WilliamR - William %R indicator
  • Aroon - Aroon Up/Down
  • AroonOsc - Aroon Oscillator
  • CCI - Community Channel Index
  • EMV - Ease of Movement
  • MDX - Mass Index
  • CVolatility - Chaikin Volatility
  • COscillator - Chaikin Oscillator
  • CMF - Chaikin Money Flow
  • NVI - Negative Volume Index
  • PVI - Positive Volume Index
  • MFI - Money Flow Index
  • PVO - Percentage Volume Oscillator
  • PPO - Percentage Price Oscillator
  • UO - Ultimate Oscillator
  • Vol - Volume
  • TRIX - Triple Exponential Average
mat Moving Average Type(s)
Adds moving averages to the chart. Multiple types can be seperated by a -. This must be used with the key ma.

The following are the valid values:
  • None - None
  • SMA - Simple
  • EMA - Exponential
  • TMA - Tirangular
  • WMA - Weighted
ma Moving Average(s)
This specifies the days for Moving Average Type(s). This must be used with the key mat.
vol Volume
This determines if a volume chart will be displayed at the bottom of the chart. By default, this displayed.

The following are the valid values:
  • 0 - Off
  • 1 - On
l Log Scale
Enables the Log Scale mechanism. By default, this is off

The following are the valid values:
  • 0 - Off
  • 1 - On
sc Symbol Close Line
This determines if the Symbol Close Line will be drawn. By default, this is off.

The following are the valid values:
  • 0 - Off
  • 1 - On

1.4 Display Options

The following are deprecated options of the charting engine:

Key Definition
w Width
This sets the Width of the chart. By default, Width is 500;
h Height
This sets the Height of the chart. By default, Height is 400;
cs Copyright Display
This will disable the display of copyright if set to 0.
c=g Gradient
This will force the chart to use a gradient fill. Only valid for Close Charts.
cg Gradient Color
This will fill a Close chart with the specified color. This must be in hexadecimal format.
lc Line Color
This will draw the line of a Close chart with the specified color. This must be in hexadecimal format.
bc Background Color
This will change the background color of a chart with the specified color. This must be in hexadecimal format.
xc Chart Box Color
This will change the box color of a chart with the specified color. This must be in hexadecimal format.
ac Axis Color
This will change the axis color of a chart with the specified color. This must be in hexadecimal format.
fc Font Color
This will change the font color of a chart with the specified color. This must be in hexadecimal format.
fs Font Size
This will change the font size of a chart with the specified size. The default and minimum valus is 8.
v Vertical Axis
This determines if the Vertical Axis of a grid will be drawn.

The following are the valid values:
  • 0 - Off
  • 1 - On
hg Horizontal Axis
This determines if the Horizontal Axis of a grid will be drawn.

The following are the valid values:
  • 0 - Off
  • 1 - On
lg Legend
This determines if the Legend will be displayed. By default, this is on.

The following are the valid values:
  • 0 - Off
  • 1 - On
lw Line Width
This specifies the width of a line in pixels. By default, this is 1.
cw Chart Weight
This specifies the weight of the chart.
g=1 Gradient Fill under chart
This sets the chart to be an End of Day Close chart with gradient fill.
d Chart Name Display
This specifies if the symbol name will be displayed. By default this is 1.

The following are the valid values:
  • 0 - Off
  • 1 - On
y Predefined Style
Predefined style templates. Examples include: gray, blue, green.
eg: y=blue

1.5 Deprecated Options (backward compatibilty)

The following are data options of the charting engine:

Key Definition
rsi Relative Strength Index
Adds Relative Strength Index Technical Indicator.
macd Moving Average Convergence-Divergence
Adds Moving Average Convergence-Divergence Technical Indicator.
sto Slow Stochastic
Adds Slow Stochastic Technical Indicator.
ma1 Moving Average 1
Adds a Moving Average of a specified number of days.
ma2 Moving Average 2
Adds a second Moving Average of a specified number of days.
bol Price Brand
Adds a Price Brand to the chart.

Section 2: Examples

Simple End Of Day Complex End Of Day
https://chart.eoddata.com/?e=NASDAQ&s=GOOG
https://chart.eoddata.com/?e=NASDAQ&s=AAPL&w=600&h=400&t=1&bs=candle&ma=5-20&mat=SMA-SMA&i=RSI&b=BB
Simple Intraday Intraday with Modified Display
https://chart.eoddata.com/?e=NASDAQ&s=GOOG&p=10
https://chart.eoddata.com/?e=NASDAQ&s=GOOG&p=10&g=1&v=0&hg=0&vol=0&lw=4&bc=666666&fc=FFFFFF