Ehsanrs2 commited on
Commit
f2e219e
Β·
verified Β·
1 Parent(s): 70f153b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +63 -55
README.md CHANGED
@@ -20,94 +20,102 @@ tags:
20
  pretty_name: Forex Factory Economic Calendar (2007–2025)
21
  size_categories:
22
  - 10K<n<100K
23
- ---
24
- Perfect! Since you now clarified that the dataset includes **detailed information** and the **date range is up to April 7, 2025**, I’ll update the Kaggle description accordingly to match the structure and showcase the content accurately.
25
-
26
  ---
27
 
28
  # πŸ“… Forex Factory Economic Calendar Dataset (2007-01-01 to 2025-04-07)
29
 
30
- This dataset contains over 18 years of **economic calendar events** scraped from [Forex Factory](https://www.forexfactory.com/calendar), from **January 1, 2007** through **April 7, 2025**. It includes detailed information for each event, making it valuable for economic research, trading strategy development, and financial modeling.
 
31
 
32
  ---
33
 
34
- ## πŸ” What is Forex Factory?
35
 
36
- Forex Factory is one of the most widely used economic calendars in the world. It tracks macroeconomic news events such as central bank interest rate decisions, employment reports, GDP releases, inflation data, and more β€” all of which can influence financial markets, especially currency exchange rates.
 
 
 
37
 
38
  ---
39
 
40
- ## 🧾 Dataset Overview
41
 
42
- Each row in the dataset represents a single event with both summary and detailed descriptions.
 
 
 
 
 
 
 
 
 
43
 
44
- **Columns:**
45
 
46
- - `DateTime` – ISO 8601 timestamp of the event (timezone: Asia/Tehran)
47
- - `Currency` – Affected currency (e.g., USD, EUR, GBP)
48
- - `Impact` – Expected impact level (e.g., Low, Medium, High Impact Expected)
49
- - `Event` – Title of the economic event
50
- - `Actual` – Reported value (when available)
51
- - `Forecast` – Forecasted value (if provided)
52
- - `Previous` – Previous reported value
53
- - `Detail` – Rich text description with:
54
- - Source & release schedule
55
- - Indicator explanation
56
- - Market impact notes
57
- - Survey methodology
58
- - Acronym expansions
59
 
60
  ---
61
 
62
- ## πŸ“¦ Sample Entry
63
 
64
- ```
65
- DateTime: 2007-01-01T04:30:00+03:30
66
- Currency: CNY
67
- Impact: High Impact Expected
68
- Event: Manufacturing PMI
69
- Actual: 54.8
70
- Forecast:
71
- Previous: 55.3
72
- Detail: Source: CFLP ... Above 50.0 indicates industry expansion ...
73
- ```
74
 
75
  ---
76
 
77
- ## βš™οΈ How Was It Collected?
78
 
79
- Collected using a **custom Python web scraper** built with:
80
 
81
- - **Selenium** (via `undetected-chromedriver`) for dynamic web content handling
82
- - **pandas** for data manipulation and export
83
- - Full support for:
84
- - Incremental scraping
85
- - Custom date ranges
86
- - Timezone conversion
87
- - Optional detailed scraping
88
 
89
- > πŸ›  You can find the full code [on GitHub](https://github.com/ehsanrs2/forexfactory-scraper) to extend or reproduce the dataset.
90
 
91
  ---
92
 
93
- ## πŸ’‘ Use Cases
 
 
94
 
95
- - 🧠 AI/ML for macroeconomic forecasting
96
- - πŸ’Ή Backtesting event-driven trading strategies
97
- - πŸ“° News sentiment correlation studies
98
- - πŸ“Š Global economic indicator research
99
- - 🧾 Building financial knowledge graphs
100
 
101
  ---
102
 
103
- ## πŸ“ File Format
104
 
105
- - CSV file with UTF-8 encoding
106
- - Dates are in ISO 8601 format
107
- - Cleaned and ready for analysis
 
 
 
 
 
 
 
 
108
 
109
  ---
110
 
111
- ## πŸ›‘ Disclaimer
 
 
 
 
 
 
112
 
113
- This dataset is intended for **educational and research purposes** only. Please respect [Forex Factory’s Terms of Use](https://www.forexfactory.com/disclaimer). This project is not affiliated with Forex Factory.
 
20
  pretty_name: Forex Factory Economic Calendar (2007–2025)
21
  size_categories:
22
  - 10K<n<100K
 
 
 
23
  ---
24
 
25
  # πŸ“… Forex Factory Economic Calendar Dataset (2007-01-01 to 2025-04-07)
26
 
27
+ This dataset contains a comprehensive archive of macroeconomic calendar events sourced from [Forex Factory](https://www.forexfactory.com/calendar), spanning from **January 1, 2007** to **April 7, 2025**.
28
+ Each row captures a specific event with detailed metadata including currency, event type, market impact level, reported values, and descriptive context.
29
 
30
  ---
31
 
32
+ ## πŸ“¦ Dataset Summary
33
 
34
+ - **Total timespan:** 2007-01-01 β†’ 2025-04-07
35
+ - **Format:** CSV (UTF-8)
36
+ - **Timezone:** Asia/Tehran
37
+ - **Detailed fields included**
38
 
39
  ---
40
 
41
+ ## 🧾 Columns
42
 
43
+ | Column | Description |
44
+ |-------------|-----------------------------------------------------------------------------|
45
+ | `DateTime` | Date and time of the event in ISO 8601 format |
46
+ | `Currency` | Currency affected by the event (e.g., USD, EUR, GBP) |
47
+ | `Impact` | Impact level: Low, Medium, or High Impact Expected |
48
+ | `Event` | Name of the economic event |
49
+ | `Actual` | Reported value of the indicator (if available) |
50
+ | `Forecast` | Forecasted value |
51
+ | `Previous` | Previously reported value |
52
+ | `Detail` | Rich description including source, frequency, and why it matters to traders |
53
 
54
+ ---
55
 
56
+ ## πŸ” Example
57
+
58
+ ```csv
59
+ 2007-01-01T04:30:00+03:30,CNY,High Impact Expected,Manufacturing PMI,54.8,,55.3,"Source: CFLP (latest release) | Measures: Level of a diffusion index based on surveyed purchasing managers..."
60
+ ```
 
 
 
 
 
 
 
 
61
 
62
  ---
63
 
64
+ ## πŸ’Ό Use Cases
65
 
66
+ - Financial time series forecasting
67
+ - Event-driven backtesting in algorithmic trading
68
+ - Economic policy impact analysis
69
+ - Macro indicators modeling for global trends
70
+ - Educational purposes in finance and economics
 
 
 
 
 
71
 
72
  ---
73
 
74
+ ## βš™οΈ How It Was Built
75
 
76
+ The data was collected using a custom Python scraper using:
77
 
78
+ - [Selenium](https://pypi.org/project/selenium/) (via `undetected-chromedriver`)
79
+ - [pandas](https://pandas.pydata.org/) for CSV export and manipulation
80
+ - Incremental scraping and detailed event parsing
81
+ - Timezone-aware timestamping
 
 
 
82
 
83
+ GitHub repository (scraper code): [πŸ”— Link to repository](https://github.com/ehsanrs2/forexfactory-scraper)
84
 
85
  ---
86
 
87
+ ## πŸ›‘ Disclaimer
88
+
89
+ This dataset is intended for **educational and research purposes only**.
90
 
91
+ Data was collected from [Forex Factory](https://www.forexfactory.com/) using publicly accessible web content.
92
+ This project is **not affiliated, endorsed, or sponsored by Forex Factory** in any way.
93
+
94
+ Please respect [Forex Factory’s Terms of Use](https://www.forexfactory.com/notices). Do not use this dataset for commercial purposes or redistribution without checking the original source's policies.
 
95
 
96
  ---
97
 
98
+ ## πŸ“š Citation
99
 
100
+ If you use this dataset in your work, please cite it as:
101
+
102
+ ```
103
+ @misc{forexcalendar2025,
104
+ title={Forex Factory Economic Calendar Dataset (2007–2025)},
105
+ author={Ehsan},
106
+ year={2025},
107
+ howpublished={\url{https://huggingface.co/datasets/yourusername/forex-factory-calendar}},
108
+ note={Accessed: YYYY-MM-DD}
109
+ }
110
+ ```
111
 
112
  ---
113
 
114
+ ## 🏷 Tags
115
+
116
+ `forex` `financial-data` `economic-calendar` `macro-economics`
117
+ `time-series` `trading-strategy` `pandas` `selenium` `market-events`
118
+
119
+ ```
120
+
121