-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathconfig.yaml
More file actions
34 lines (30 loc) · 1.19 KB
/
Copy pathconfig.yaml
File metadata and controls
34 lines (30 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Basic Settings
output:
directory: "data"
filename: "insider_trades.csv"
format: "csv" # Possible values: csv, parquet
# Scraping Settings
scraping:
start_year: 2025 # From which year should data be retrieved
start_month: 1 # From which month in start_year
max_workers: 10 # Number of parallel downloads
retry_attempts: 3 # Number of retry attempts on errors
timeout: 30 # Timeout in seconds for HTTP requests
# Filter Settings
filters:
min_transaction_value: 0 # Minimum transaction value in USD
transaction_types: [] # Empty = all types, or list: ["P", "S", "A", etc.]
exclude_companies: [] # List of ticker symbols to exclude
include_companies: [] # List of ticker symbols to include
min_shares_traded: 0 # Minimum number of traded shares
# Logging Settings
logging:
level: "INFO" # DEBUG, INFO, WARNING, ERROR
file: "openinsider.log"
rotate_logs: true # Archive old logs
max_log_size: 10 # Maximum log size in MB
# Cache Settings
cache:
enabled: true # Enable/disable cache
directory: ".cache" # Cache directory
max_age: 24 # Maximum age of cache files in hours