### Installing OpenInsider Scraper Dependencies Source: https://github.com/sd3v/openinsiderdata/blob/main/README.md Steps to clone the repository, set up a virtual environment, and install the required Python packages using pip. ```bash git clone git@github.com:sd3v/openinsiderData.git cd openinsiderData ``` ```bash python -m venv venv ``` ```bash source venv/bin/activate ``` ```bash venv\Scripts\activate ``` ```bash pip install -r requirements.txt ``` -------------------------------- ### Running the OpenInsider Scraper Source: https://github.com/sd3v/openinsiderdata/blob/main/README.md Command to execute the main scraper script after installation and configuration. ```bash python openinsider_scraper.py ``` -------------------------------- ### Configuring OpenInsider Scraper Settings Source: https://github.com/sd3v/openinsiderdata/blob/main/README.md Example configuration file (`config.yaml`) detailing output, scraping, filtering, logging, and cache settings for the scraper. ```yaml output: directory: data # Output directory for scraped data filename: insider # Base filename for output files format: csv # Output format (csv or parquet) scraping: start_year: 2024 # Start year start_month: 3 # Start month max_workers: 10 # Number of parallel downloads retry_attempts: 3 # Number of retry attempts timeout: 30 # Request timeout in seconds filters: min_transaction_value: 50000 # Minimum transaction value in USD transaction_types: # Transaction types to include - P - Purchase - S - Sale - F - Tax exclude_companies: [] # Companies to exclude (by ticker) min_shares_traded: 100 # Minimum number of shares logging: level: INFO # Logging level (DEBUG, INFO, WARNING, ERROR) file: scraper.log # Log file name rotate_logs: true # Enable log rotation max_log_size: 10 # Max log size in MB cache: enabled: true # Enable caching directory: .cache # Cache directory max_age: 24 # Cache max age in hours ``` -------------------------------- ### Building and Running Docker Container Source: https://github.com/sd3v/openinsiderdata/blob/main/README.md Commands to build the Docker image for the scraper and run it, mounting a local directory for data output. ```bash docker build -t openinsider-scraper . ``` ```bash docker run -v $(pwd)/data:/app/data openinsider-scraper ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.