{"id":18780411,"url":"https://github.com/karan/slashstock","last_synced_at":"2025-04-13T11:30:51.523Z","repository":{"id":65984365,"uuid":"49180019","full_name":"karan/slashStock","owner":"karan","description":"Get stock quotes in Twitter. (@slashStock GOOG)","archived":false,"fork":false,"pushed_at":"2016-07-19T07:20:43.000Z","size":341,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T23:29:50.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://twitter.com/slashStock","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-07T04:00:53.000Z","updated_at":"2025-02-01T17:02:30.000Z","dependencies_parsed_at":"2023-02-19T18:15:23.745Z","dependency_job_id":null,"html_url":"https://github.com/karan/slashStock","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/karan%2FslashStock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karan%2FslashStock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karan%2FslashStock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karan%2FslashStock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karan","download_url":"https://codeload.github.com/karan/slashStock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248705510,"owners_count":21148549,"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":[],"created_at":"2024-11-07T20:26:17.657Z","updated_at":"2025-04-13T11:30:50.999Z","avatar_url":"https://github.com/karan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slashStock\n\nGet stock quotes in Twitter. (@slashStock GOOG)\n\n[![](http://i.imgur.com/w68AXmh.png?1)](https://twitter.com/slashStock/status/684970654714626052)\n\n### Usage\n\nThe bot understand commands in this format:\n\n    @slashStock SYMBOL TIME_SPAN\n\n* `SYMBOL` - Any stock symbol. Can contain `$` symbol. Can specify the exchange.\n* `TIME_SPAN` (optional) - Time span to pull the chart for.\n    * Defaults to `1d` if not specifed\n    * Possible values: one of `1d`, `5d`, `3m`, `6m`, `1y`, `2y`, `5y`, `my` (max)\n\n### Example\n\n* Amazon - `@slashStock AMZN`\n* Netflix - `Netflix is now in 190 countries. Damn! @slashStock $NFLX`\n* S\u0026P 500 - `@slashStock SPY 5y`\n* Greece ETF - `@slashStock GREK 2y`\n\n### Where is this bot running?\n\nCurrently I'm running this bot on a 1GB [DigitalOcean](https://www.digitalocean.com/?refcode=422889a8186d) instance (Use that link to get a free VPS for 2 months). The bot is not resource-intensive and uses a couple dozen MBs of RAM.\n\n## Running\n\n#### Requirements\n\n- Python 2+\n- pip\n\n#### Instructions \n\nCreate a file called `config.py` that looks like `config_example.py`. Fill in the necessary values.\n\nFor Twitter config:\n\n1. Register your app\n2. Get your app's key and secret.\n3. Create token and get the token and secret by running `oauth.py`\n\nThen, to run the bot:\n\n```bash\n$ pip install -r requirements.txt\n$ python bot.py\n```\n\n## License \n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaran%2Fslashstock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaran%2Fslashstock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaran%2Fslashstock/lists"}