Skip to content

How to load local SEC file into the my local database? #121

@Hide-in-dark

Description

@Hide-in-dark

I am attempting to insert my SEC document into my local database. Following the instructions in python upsert_db_sec_documents.py, I created a "data" folder within the "scripts" directory. However, I am encountering the following error.
(llama-app-backend-py3.11) root@codespaces-d90123:/workspaces/sec-insights/backend# cd scripts/ (llama-app-backend-py3.11) root@codespaces-d90123:/workspaces/sec-insights/backend/scripts# python upsert_db_sec_documents.py Upserting docs from filings: 0%| | 0/4 [00:00<?, ?it/s]Symbol symbol not found in stocks_dict. Skipping. Symbol symbol not found in stocks_dict. Skipping. Symbol symbol not found in stocks_dict. Skipping. Symbol symbol not found in stocks_dict. Skipping.

I checked the document table in the llama_app_db database within my Docker container, and there is no data in it. Could you please tell me how to successfully upload SEC files?”

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions