feat(oi): add open interest scraper module
add new oi_scraper directory for collecting open interest data and update the main EA to integrate with the scraper functionality
This commit is contained in:
27
oi_scraper/.env.example
Normal file
27
oi_scraper/.env.example
Normal file
@@ -0,0 +1,27 @@
|
||||
# CME Group QuikStrike Login Credentials
|
||||
CME_USERNAME=your_username_here
|
||||
CME_PASSWORD=your_password_here
|
||||
|
||||
# Product Configuration
|
||||
# Gold (XAUUSD/COMEX Gold - OG|GC): pid=40
|
||||
# Default product for XAUUSD trading
|
||||
PRODUCT_URL=https://cmegroup.quikstrike.net/User/QuikStrikeView.aspx?pid=40&viewitemid=IntegratedOpenInterestTool
|
||||
|
||||
# Alternative products:
|
||||
# SOFR (3M SOFR): https://cmegroup.quikstrike.net/User/QuikStrikeView.aspx?pid=476&viewitemid=IntegratedOpenInterestTool
|
||||
# Silver: https://cmegroup.quikstrike.net/User/QuikStrikeView.aspx?pid=41&viewitemid=IntegratedOpenInterestTool
|
||||
|
||||
# Gold Price Source (investing.com)
|
||||
INVESTING_URL=https://www.investing.com/commodities/gold
|
||||
|
||||
# Output Settings
|
||||
CSV_OUTPUT_PATH=./oi_data.csv
|
||||
TOP_N_STRIKES=3
|
||||
|
||||
# Scraping Settings
|
||||
HEADLESS=false # Set to true for production
|
||||
TIMEOUT_SECONDS=30
|
||||
RETRY_ATTEMPTS=3
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=INFO # DEBUG, INFO, WARNING, ERROR
|
||||
Reference in New Issue
Block a user