Click here to Login








Barchart GetHistory

by Christian, 1997 days ago
Share |






With that downloader you can get very accurate EOD and Intraday Data from equities, futures and forex.

This downloader is using the free API function getHistory() from Barchart.

You can found a detail description here: https://www.barchart.com/ondemand/api/getHistory

Her are the limitations of the downloader:

HISTORICAL DATA
Equities: AMEX, NASDAQ, NYSE
Futures: CBOT, CME, COMEX, NYMEX
Forex: Global Currencies
Up to 6 months of daily history
Up to 1 month of n-minute history
Up to 150 queries per day

To use that downloader you need first an API-Key and you can get it here:
https://www.barchart.com/ondemand/free-market-data-api

Hera a description of the different types you can use:

When you create a query, you'll need to specify the "type". Here are your options: ticks, minutes, nearbyMinutes, formTMinutes, daily, dailyNearest, dailyContinue, weekly, weeklyNearest, weeklyContinue, monthly, monthlyNearest, monthlyContinue, quarterly, quarterlyNearest, quarterlyContinue, yearly, yearlyNearest, yearlyContinue

For Daily / Weekly / Monthly / Quarterly / Yearly: Shows the historical trading activity only for the contract specified.

For Daily Nearest / Weekly Nearest / Monthly Nearest / Quarterly Nearest / Yearly Nearest: Builds historical using the nearest contract. The nearest contract is the closest unexpired contract for the underlying commodity, where every chart bar represents the front month at that point in history.

For Daily Continue / Weekly Continue / Monthly Continue / Quarterly Continue / Yearly Continue: Builds historical using the same month specified for the original contract. For example, if the symbol is ZSX13 (Soybeans November 2013), the chart is built using all previous November contracts for Soybeans (ZSX13, ZSX12, ZSX11, ZSX10 etc).

For minutes: Builds historical minute data based in the interval that you choose. For example, 1 minute bars, 5 minute bars, 10 minute bars, etc.

For nearbyMinutes: Similar to dailyNearest however in minute form. dailyNearest (rolls onto the next months' contract) Looking historically it will connect the contracts together to have a clear image of futures historical

For formTMinutes: Build historical data based on a minute query to include pre/post market hour trading into your query.


I am using that downloader on different ways.
1. Download intraday data from common stocks

2. Build an continous contract of an future with automatic roll




Share This ->
Share |


You have to log in to bookmark this object
What is this?




Type: Download Script

Object ID: 1806


Country:


Market:

Style:

Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects

Empty

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis



Random Blog Posts

Dynamic Position Sizing in your Trading System

How to Create an Automated Trading System in QuantShare

QuantShare Trading Software: New Features in the 3.6.0 Version

6 New Ways to Download Free Intraday Data for the U.S. Stock Market

Lock, Link and Undock your Charts

10 New Ways to Download Historical Stock Quotes for Free

Introduction to the Events Monitor Tool

How to Adjust the Time Displayed in your Intraday Charts

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.