API Support Forum
OEC API > API Support > Moving Averages
Author Topic: Moving Averages
(5 messages, Page 1 of 1)
Moderators: VPfau
TDecilveo930
Posts: 7
Joined: May 11, 2011


Posted: Jun 06, 2011 @ 09:10 PM             Msg. 1 of 5
I've looked through the forum and searched the API but can't seem to find anything on moving averages for a contract. Does the API have functions to use that return a price of a moving average over a time period for a contract? If not, what is the best way to go about creating this? One of the moving averages I need is a 40 day, can I request historical data this far back?

I'm brand new to this API and creating financial software in general, any help is appreciated!

Timothy Decilveo
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Jun 07, 2011 @ 08:23 AM             Msg. 2 of 5
OECAPI provides the basic historical data. You can use OEC Chart Package to get builtin moving averages.
OEC provides bars more than 40 days back.

Victor Vins
Software Developer
TDecilveo930
Posts: 7
Joined: May 11, 2011


Posted: Jun 07, 2011 @ 11:20 AM             Msg. 3 of 5
I am not seeing the Chart Package in the API documentation, what is it under?

Timothy Decilveo
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Jun 07, 2011 @ 11:26 AM             Msg. 4 of 5
This is a plugin for OEC Trader

Victor Vins
Software Developer
TDecilveo930
Posts: 7
Joined: May 11, 2011


Posted: Jun 07, 2011 @ 11:34 AM             Msg. 5 of 5
Is it available to download? Sample source code to look at?

Timothy Decilveo