|
Download README.md from paperswithbacktest/Forex-1Min-Price: direct link, hf CLI and curl.
- Browser
- Download file 4.31 kB
-
https://huggingface.co/datasets/paperswithbacktest/Forex-1Min-Price/resolve/main/README.md
- Command line
-
hf download hf://datasets/paperswithbacktest/Forex-1Min-Price/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/paperswithbacktest/Forex-1Min-Price/resolve/main/README.md
4.31 kB
| pretty_name: Forex 1min Price | |
| language: | |
| - en | |
| license: other | |
| task_categories: | |
| - time-series-forecasting | |
| - tabular-regression | |
| tags: | |
| - finance | |
| - quantitative-trading | |
| - backtesting | |
| - algorithmic-trading | |
| - forex | |
| - currencies | |
| - fx | |
| - intraday | |
| - high-frequency | |
| - ohlcv | |
| - market-data | |
| - time-series | |
| size_categories: | |
| - 1B<n<10B | |
| extra_gated_prompt: "This dataset is free to browse and gated for download. Approval is tied to a Papers With Backtest subscription, which also covers the other datasets of the organisation: https://paperswithbacktest.com/pricing" | |
| dataset_info: | |
| features: | |
| - name: symbol | |
| dtype: string | |
| - name: datetime | |
| dtype: string | |
| - name: open | |
| dtype: float64 | |
| - name: high | |
| dtype: float64 | |
| - name: low | |
| dtype: float64 | |
| - name: close | |
| dtype: float64 | |
| - name: volume | |
| dtype: int64 | |
| splits: | |
| - name: train | |
| num_examples: 3062443272 | |
| # Forex 1min Price | |
| One-minute open, high, low and close of currency pairs, against the US dollar and crossed (`EURGBP`), from September 2009 to today: about 1,200 pairs in October 2026. Pairs are spelled as in `Forex-Daily-Price`. Volume counts quote updates, not traded amounts: forex has no central tape. | |
| <!-- MEASURED:START - rewritten by dataset_cards/refresh.py --> | |
| **3,062,443,272 rows**, 7 columns, covering **2009-09-25 to 2026-10-30**. Refreshed monthly. | |
| <!-- MEASURED:END --> | |
| ## Why It Matters | |
| - **Intraday FX research:** Fixing-time effects, the New York and London overlaps, reversals after the 4pm fix: all of it needs bars finer than the day. | |
| - **Execution modeling:** Minute bars bound the slippage of a daily strategy that trades at a chosen hour rather than at the close. | |
| - **Event studies:** Central bank announcements and macro releases move currencies within minutes; daily bars average them away. | |
| ## Load It | |
| **Installation/Upgrade:** | |
| ```bash | |
| pip install --upgrade pwb-toolbox | |
| ``` | |
| **Load the Dataset:** | |
| ```python | |
| from pwb_toolbox import datasets as pwb_ds | |
| df = pwb_ds.load_dataset("Forex-1Min-Price", symbols=["EURUSD"]) | |
| print(df.set_index("datetime").loc["2024-07-15 04:00:00"]) | |
| ``` | |
| **Example Output:** | |
| ``` | |
| symbol EURUSD | |
| open 1.08947 | |
| high 1.0897 | |
| low 1.0894 | |
| close 1.08956 | |
| volume 161 | |
| ``` | |
| ## Columns | |
| | Column Name | Description | | |
| | :--- | :--- | | |
| | **symbol** | Currency pair, base then quote (`EURUSD`, `USDJPY`, `EURGBP`), as in `Forex-Daily-Price`. Where both directions of a pair are quoted, both are present (`USDJPY` and `JPYUSD`); the minute loader inverts nothing, so `USDJPY` is yen per dollar. | | |
| | **datetime** | Bar timestamp, New York time, as in `Stocks-1Min-Price`. | | |
| | **open** | Opening price of the minute bar. | | |
| | **high** | Highest price within the bar. | | |
| | **low** | Lowest price within the bar. | | |
| | **close** | Closing price of the minute bar. | | |
| | **volume** | Number of quote updates during the bar, a measure of activity, not an amount traded. | | |
| ## What This Data Does Not Cover | |
| **Traded volume.** There is no consolidated tape for spot forex: `volume` counts quote updates, not amounts. Use the yearly cost table (`Forex-Yearly-TransactionCostParams`) for liquidity by pair and year. | |
| **History by pair.** The majors run from September 2009; many minor and exotic pairs were listed in 2025 and have months, not years. Check the first bar of a pair before testing on it. | |
| **Gaps.** Weekends and the daily 5pm New York maintenance break are absent, not filled; a minute without a tick has no row. | |
| ## Access | |
| Browsing the card and the schema is open to anyone. Downloading the files needs an approved request, tied to a subscription: [what each plan includes](https://paperswithbacktest.com/pricing). The same approval covers every dataset of the organisation. | |
| ## Elsewhere | |
| - [Dataset page and coverage charts](https://paperswithbacktest.com/datasets/forex-1min-price) | |
| - [The strategy catalogue](https://paperswithbacktest.com/strategies), 3,806 papers and 4,837 replicated strategies | |
| - [`pwb-toolbox`](https://github.com/paperswithbacktest/pwb-toolbox), the loader used in the snippet above | |
| - [`awesome-systematic-trading`](https://github.com/paperswithbacktest/awesome-systematic-trading), the replicated strategies with their measured Sharpe | |
| - [Every dataset in this organisation](https://huggingface.co/datasets/paperswithbacktest) | |