{"id":26884132,"url":"https://github.com/dopevog/stox","last_synced_at":"2026-03-11T04:32:13.015Z","repository":{"id":57471668,"uuid":"369831292","full_name":"dopevog/stox","owner":"dopevog","description":"A Python Module That Uses ANN To Predict A Stocks Price And Also Provides Accurate Technical Analysis With Many High Potential Implementations!","archived":false,"fork":false,"pushed_at":"2021-06-21T12:05:20.000Z","size":406,"stargazers_count":32,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-15T10:36:49.862Z","etag":null,"topics":["python","python-module","stock-market","stock-price-prediction","stockmarket-ai","technical-analysis"],"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/dopevog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"dopevog"}},"created_at":"2021-05-22T14:40:32.000Z","updated_at":"2025-12-09T13:45:36.000Z","dependencies_parsed_at":"2022-08-30T15:10:32.454Z","dependency_job_id":null,"html_url":"https://github.com/dopevog/stox","commit_stats":null,"previous_names":["cstox/stox"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dopevog/stox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dopevog%2Fstox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dopevog%2Fstox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dopevog%2Fstox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dopevog%2Fstox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dopevog","download_url":"https://codeload.github.com/dopevog/stox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dopevog%2Fstox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30370798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["python","python-module","stock-market","stock-price-prediction","stockmarket-ai","technical-analysis"],"created_at":"2025-03-31T17:40:01.633Z","updated_at":"2026-03-11T04:32:12.988Z","avatar_url":"https://github.com/dopevog.png","language":"Python","funding_links":["https://patreon.com/dopevog"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" style=\"border-bottom: none\"\u003e\n    \u003cb\u003e\n        \u003ca href=\"https://pypi.org/project/stox/\"\u003eStox \u003c/a\u003e\u003cbr\u003e\n    \u003c/b\u003e\n    \u003cimg align=\"center\" width=\"100\" height=\"100\" src=\"https://github.com/cstox/stox/blob/main/favicon.png\"\u003e\u003cbr\u003e\n    \u003c/b\u003e\n    ⚡ A Python Module For The Stock Market ⚡ \u003cbr\u003e\n\n\u003c/h1\u003e\n\nA Module to predict the \"close price\" for the next day and give \"technical analysis\". It \n uses a Neural Network and the LSTM algorithm to predict the price. It uses a technical \n indicator algorithm developed by the Stox team for technical analysis. \n\n## Installation\nGet it from [PyPi](https://pypi.org/project/stox/):\n```\npip3 install stox\n```\nClone it from github:\n```\ngit clone https://github.com/dopevog/stox.git\ncd stox\npython3 setup.py install\n```\n\n## Usage\n### Arguments:\n```\n    stock (str): stock ticker symbol\n    output (str): 'list' or 'message' (Format Of Output)\n    years (int or float): years of data to be considered\n    chart (bool): generate performance plot\n```\n\n### Returns:\nList: \n```\n[company name, current price, predicted price, technical analysis, date (For)]\n```\nMessage:\n```\ncompany name\ncurrent price\npredicted price\ntechnical analysis\ndata (for)\n```\n\n### Examples:\n#### Basic\n```\nimport stox\n\nscript = input(\"Stock Ticker Symbol: \")\ndata = stox.stox.exec(script,'list')\n\nprint(data)\n```\n```\n$ stox\u003e python3 main.py\n$ Stock Ticker Symbol: AAPL\n$ ['Apple Inc.', 125.43000030517578, 124.91, 'Bearish (Already)', '2021-05-24']\n```\n#### Intermediate\n```\nimport stox\nimport pandas as pd\n\nstock_list = pd.read_csv(\"SPX500.csv\") \ndf = stock_list \nnumber_of_stocks = 505 \nx = 0\nwhile x \u003c number_of_stocks:\n    ticker = stock_list.iloc[x][\"Symbols\"]\n    data = stox.stox.exec(ticker,'list')\n    df['Price'] = data[1] \n    df['Prediction'] = data[2]\n    df['Analysis'] = data[3]\n    df['DateFor'] = data[4]\n    if data[2] - data[1]  \u003e= data[1]  * 0.02:\n        if data[3] == \"Bullish (Starting)\":\n            df['Signal'] = \"Buy\"\n        elif data[3] == \"Bullish (Already)\":\n            df['Signal'] = \"Up\"\n    elif data[2] - data[1]  \u003c= data[1]  * -0.02:\n        if data[3] == \"Bearish (Starting)\":\n            df['Signal'] = \"Sell\"\n        elif data[3] == \"Bearish (Already)\":\n            df['Signal'] = \"Down\"\n    else:\n        df['Signal'] = \"None\"\n    x = x+1\ndf.to_csv(\"output.csv\") \nprint(\"Done\") \n```\n```\n$ stox\u003e python3 main.py\n$ Done\n```\n#### More Examples Including These Ones Can Be Found [Here](https://github.com/cstox/stox/tree/main/Examples)\n\n### Possible Implentations\n* Algorithmic Trading\n* Single Stock Analysis\n* Multistock Analysis\n* And Much More!\n\n## Credits\n* [Dopevog](https://github.com/dopevog)\n* [Gerard López](https://macosicons.com/u/Gerard%20L%C3%B3pez) - Logo\n\n## License\nThis Project Has Been [MIT Licensed](https://github.com/cstox/stox/blob/main/License.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdopevog%2Fstox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdopevog%2Fstox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdopevog%2Fstox/lists"}