All Projects → philipperemy → Fx 1 Minute Data

philipperemy / Fx 1 Minute Data

Licence: apache-2.0
HISTDATA - Full Dataset composed of 68 FX trading pairs / Simple API to retrieve 1 Minute data Historical FX Prices (up to June 2019).

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Fx 1 Minute Data

Tda Api
A TD Ameritrade API client for Python. Includes historical data for equities and ETFs, options chains, streaming order book data, complex order construction, and more.
Stars: ✭ 608 (+118.71%)
Mutual labels:  trading, financial-data
Dbg Pds
Deutsche Boerse's Financial Trading Public Data Set
Stars: ✭ 124 (-55.4%)
Mutual labels:  dataset, financial-data
Iexcloud api wrapper
iexcloud api wrapper written in typescript (asynchronous interface)
Stars: ✭ 80 (-71.22%)
Mutual labels:  trading, financial-data
Financial News Dataset
Reuters and Bloomberg
Stars: ✭ 147 (-47.12%)
Mutual labels:  dataset, trading
Bursatil Argentina Python
Guia de ejemplos didácticos en python temática finanzas bolsa trading argentina usa
Stars: ✭ 153 (-44.96%)
Mutual labels:  trading, financial-data
Pandas Datareader
Extract data from a wide range of Internet sources into a pandas DataFrame.
Stars: ✭ 2,183 (+685.25%)
Mutual labels:  dataset, financial-data
Dataset Api
The ApolloScape Open Dataset for Autonomous Driving and its Application.
Stars: ✭ 260 (-6.47%)
Mutual labels:  dataset
Datagear
数据可视化分析平台,使用Java语言开发,采用浏览器/服务器架构,支持SQL、CSV、Excel、HTTP接口、JSON等多种数据源
Stars: ✭ 266 (-4.32%)
Mutual labels:  dataset
Awesome Msr
A curated repository of software engineering repository mining data sets
Stars: ✭ 257 (-7.55%)
Mutual labels:  dataset
NLPrep
🍳 NLPrep - dataset tool for many natural language processing task
Stars: ✭ 26 (-90.65%)
Mutual labels:  dataset
Knowage Server
Knowage is the professional open source suite for modern business analytics over traditional sources and big data systems.
Stars: ✭ 276 (-0.72%)
Mutual labels:  dataset
Exclusively Dark Image Dataset
Exclusively Dark (ExDARK) dataset which to the best of our knowledge, is the largest collection of low-light images taken in very low-light environments to twilight (i.e 10 different conditions) to-date with image class and object level annotations.
Stars: ✭ 274 (-1.44%)
Mutual labels:  dataset
Ergo
🧠 A tool that makes AI easier.
Stars: ✭ 264 (-5.04%)
Mutual labels:  dataset
Crypto Signal
Github.com/CryptoSignal - #1 Quant Trading & Technical Analysis Bot - 3,100+ stars, 900+ forks
Stars: ✭ 3,690 (+1227.34%)
Mutual labels:  trading
Covid19canada
Epidemiological Data from the COVID-19 Epidemic in Canada
Stars: ✭ 272 (-2.16%)
Mutual labels:  dataset
Machine Learning And Ai In Trading
Applying Machine Learning and AI Algorithms applied to Trading for better performance and low Std.
Stars: ✭ 258 (-7.19%)
Mutual labels:  trading
Rlquant
Applying Reinforcement Learning in Quantitative Trading
Stars: ✭ 271 (-2.52%)
Mutual labels:  trading
Fakenewscorpus
A dataset of millions of news articles scraped from a curated list of data sources.
Stars: ✭ 255 (-8.27%)
Mutual labels:  dataset
Hub
Dataset format for AI. Build, manage, & visualize datasets for deep learning. Stream data real-time to PyTorch/TensorFlow & version-control it. https://activeloop.ai
Stars: ✭ 4,003 (+1339.93%)
Mutual labels:  dataset
Anime Face Dataset
🖼 A collection of high-quality anime faces.
Stars: ✭ 272 (-2.16%)
Mutual labels:  dataset

FX 1-Minute Dataset (+ Crude Oil and Stock indexes)

Retrieval made easy for 1-minute (and tick data). Source: http://histdata.com/.

Dataset 1M from early 2000 to June 2019

Available here: 2000-Jun2019. Due to Github repository space limit policies, we will stop publishing the updated dataset on Github. Refer to the section Re-download the dataset of the repository to generate your own.

API

Downloads Downloads

pip install histdata

Re-download the dataset of the repository

This command will re-download all the FULL 1M dataset up to today (expect the runtime to be ~4 hours).

pip install histdata
python download_all_fx_data.py

Examples

from histdata import download_hist_data as dl
from histdata.api import Platform as P, TimeFrame as TF
  • Download tick data for 2019/06:
dl(year='2019', month='6', pair='eurusd', platform=P.GENERIC_ASCII, time_frame=TF.TICK_DATA)
  • Other possible calls:
dl(year='2019', month='6', pair='eurusd', platform=P.NINJA_TRADER, time_frame=TF.TICK_DATA_LAST)
dl(year='2019', month='6', pair='eurusd', platform=P.NINJA_TRADER, time_frame=TF.TICK_DATA_ASK)
dl(year='2019', month='6', pair='eurusd', platform=P.NINJA_TRADER, time_frame=TF.TICK_DATA_BID)
dl(year='2019', month='6', pair='eurusd', platform=P.NINJA_TRADER, time_frame=TF.ONE_MINUTE)
dl(year='2019', month='6', pair='eurusd', platform=P.GENERIC_ASCII, time_frame=TF.TICK_DATA)
dl(year='2019', month='6', pair='eurusd', platform=P.EXCEL, time_frame=TF.ONE_MINUTE)
dl(year='2019', month='6', pair='eurusd', platform=P.META_TRADER, time_frame=TF.ONE_MINUTE)
dl(year='2019', month='6', pair='eurusd', platform=P.META_STOCK, time_frame=TF.ONE_MINUTE)
dl(year='2018', month='6', pair='eurusd', platform=P.NINJA_TRADER, time_frame=TF.TICK_DATA_LAST)
dl(year='2018', month='6', pair='eurusd', platform=P.NINJA_TRADER, time_frame=TF.TICK_DATA_ASK)
dl(year='2018', month='6', pair='eurusd', platform=P.NINJA_TRADER, time_frame=TF.TICK_DATA_BID)

Data specification

This repository contains:

  • A dataset of all the FX prices (1-minute data) from 2000 to late June 2019, in Generic ASCII.
    • More than 66 FX pairs
  • Contains some commodities:
    • WTI/USD = WEST TEXAS INTERMEDIATE in USD
    • BCO/USD = BRENT CRUDE OIL in USD
  • Contains some indexes:
    • SPX/USD = S&P 500 in USD
    • JPX/JPY = NIKKEI 225 in JPY
    • NSX/USD = NASDAQ 100 in USD
    • FRX/EUR = FRENCH CAC 40 in EUR
    • UDX/USD = US DOLLAR INDEX in USD
    • UKX/GBP = FTSE 100 in GBP
    • GRX/EUR = DAX 30 in EUR
    • AUX/AUD = ASX 200 in AUD
    • HKX/HKD = HAN SENG in HKD E - TX/EUR = EUROSTOXX 50 in EUR
  • A set of functions to download the historical prices yourself.

All the data is retrieved from: http://www.histdata.com/

Any file in a dataset is zipped and contains:

  • a CSV (semicolon separated file).
  • a status report (containing some meta data such as gaps).

Any CSV file looks like this:

20120201 000000;1.306600;1.306600;1.306560;1.306560;0
20120201 000100;1.306570;1.306570;1.306470;1.306560;0
20120201 000200;1.306520;1.306560;1.306520;1.306560;0
20120201 000300;1.306610;1.306610;1.306450;1.306450;0
20120201 000400;1.306470;1.306540;1.306470;1.306520;0
[...]

Headers are not included in the CSV files. They are:

DateTime Stamp;Bar OPEN Bid Quote;Bar HIGH Bid Quote;Bar LOW Bid Quote;Bar CLOSE Bid Quote;Volume

DateTime Stamp

Format: YYYYMMDD HHMMSS

Legend:

  • YYYY – Year
  • MM – Month (01 to 12)
  • DD – Day of the Month
  • HH – Hour of the day (in 24h format)
  • MM – Minute
  • SS – Second, in this case it will be always 00

TimeZone: Eastern Standard Time (EST) time-zone WITHOUT Day Light Savings adjustments

OPEN Bid Quote

The open (first) bid quote of the 1M bin.

HIGH Bid Quote

The highest bid quote of the 1M bin.

LOW Bid Quote

The lowest bid quote of the 1M bin.

CLOSE Bid Quote

The close (last) bid quote of the 1M bin.

Volume

Number of lots. From what I saw it's always 0 here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].