{"id":19572256,"url":"https://github.com/asad70/insider-trading","last_synced_at":"2025-04-27T03:32:57.579Z","repository":{"id":110344979,"uuid":"327759575","full_name":"asad70/Insider-Trading","owner":"asad70","description":"This program extracts insider trading data from the sec website and stores it in excel file for the specified time frame.","archived":false,"fork":false,"pushed_at":"2022-10-05T15:21:24.000Z","size":101,"stargazers_count":53,"open_issues_count":1,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T21:11:11.666Z","etag":null,"topics":["algotrading","data-science","extract-data","insider-trading","insiders","tickers","trading","trading-strategies"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asad70.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-08T00:43:10.000Z","updated_at":"2025-03-03T16:44:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8df1d29-02f6-43fc-9f96-8e52d787b48e","html_url":"https://github.com/asad70/Insider-Trading","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asad70%2FInsider-Trading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asad70%2FInsider-Trading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asad70%2FInsider-Trading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asad70%2FInsider-Trading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asad70","download_url":"https://codeload.github.com/asad70/Insider-Trading/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251085144,"owners_count":21533821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algotrading","data-science","extract-data","insider-trading","insiders","tickers","trading","trading-strategies"],"created_at":"2024-11-11T06:25:00.685Z","updated_at":"2025-04-27T03:32:57.573Z","avatar_url":"https://github.com/asad70.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Insider-Trading\nThis program extracts insider trading data from the sec website and stores it in excel file for the specified time frame.\n\n# How to run:\n\n    python3 'insider trading.py'\n\n\nEnter a ticker (ex: 'AAPL, MSFT') or type 'all' to search thru all the tickers in file:\\\nHere you can enter either single ticker or separate multiple tickers by comma or type 'all' to go thru all the tickers in fName = 'ticker and cik.csv' (default name)\n\nEnter the starting date (Ex: 2020-MM-DD): \n\nWould you like to extract data to excel file (Press enter for no OR enter filename):\\\nHere either enter file name or press enter if you don't want to save the data. By default the program doesn't display any data on shell, but you can add print(all_df) or print(symbol_df) to print the data\n\n\n# Sample run\nEnter a ticker (ex: 'AAPL, MSFT') or type 'all' to search thru all the tickers in file: aapl, msft, amzn, fb, v\\\nEnter the starting date (Ex: 2020-MM-DD): 2020-05-05\\\nWould you like to extract data to excel file (Press enter for no OR enter filename): five\n\nFinished extracting AAPL insider data from 2020-05-05 till 2021-01-07.\\\nFinished: 1/5 symbols.\\\nFinished extracting MSFT insider data from 2020-05-05 till 2021-01-07.\\\nFinished: 2/5 symbols.\\\nFinished extracting AMZN insider data from 2020-05-05 till 2021-01-07.\\\nFinished: 3/5 symbols.\\\nFinished extracting FB insider data from 2020-05-05 till 2021-01-07.\\\nFinished: 4/5 symbols.\\\nFinished extracting V insider data from 2020-05-05 till 2021-01-07.\\\nFinished: 5/5 symbols.\\\nExtracted the data to five.xlsx\n![](sample.PNG)\n\n# Transaction type\nP - Open market or private purchase of non-derivative or derivative security\\\nS - Open market or private sale of non-derivative or derivative security\n\nticker and cik.csv source: https://www.sec.gov/include/ticker.txt \\\nTransaction types: https://www.sec.gov/opa/column-descriptions.html\n\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasad70%2Finsider-trading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasad70%2Finsider-trading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasad70%2Finsider-trading/lists"}