{"id":13623051,"url":"https://github.com/mop-tracker/mop","last_synced_at":"2025-05-13T18:07:01.087Z","repository":{"id":9922826,"uuid":"11934420","full_name":"mop-tracker/mop","owner":"mop-tracker","description":"Stock market tracker for hackers.","archived":false,"fork":false,"pushed_at":"2025-03-17T10:16:09.000Z","size":1848,"stargazers_count":2037,"open_issues_count":7,"forks_count":305,"subscribers_count":86,"default_branch":"master","last_synced_at":"2025-04-25T14:50:38.496Z","etag":null,"topics":["bitcoin","cryptocurrency","finance","go","golang","stock-market","stocks","terminal","trading"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mop-tracker.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-08-06T20:55:49.000Z","updated_at":"2025-04-25T02:37:33.000Z","dependencies_parsed_at":"2022-07-12T15:03:53.427Z","dependency_job_id":"0a28d10b-ff50-4072-97e5-1f70342892cb","html_url":"https://github.com/mop-tracker/mop","commit_stats":{"total_commits":294,"total_committers":33,"mean_commits":8.909090909090908,"dds":0.6326530612244898,"last_synced_commit":"298ed9b8ed396bdec0b046f88cd2d7a29db2a6ce"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mop-tracker%2Fmop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mop-tracker%2Fmop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mop-tracker%2Fmop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mop-tracker%2Fmop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mop-tracker","download_url":"https://codeload.github.com/mop-tracker/mop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000848,"owners_count":21997441,"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":["bitcoin","cryptocurrency","finance","go","golang","stock-market","stocks","terminal","trading"],"created_at":"2024-08-01T21:01:27.431Z","updated_at":"2025-05-13T18:07:01.063Z","avatar_url":"https://github.com/mop-tracker.png","language":"Go","readme":"### mop: track stocks the hacker way\nA command-line utility that displays current information on select markets and individual stocks.\n\n![image](https://user-images.githubusercontent.com/12674437/144474220-5f35f893-6860-4ba5-9c3a-58b80df16255.png)\n\n### Installing mop from source\n\nEnsure GO language is installed. Download from: https://go.dev/dl/ and the $GOPATH is set then:\n\n```\ngit clone https://github.com/mop-tracker/mop\ncd mop\ngo build ./cmd/mop\n./mop\n```\n\n### Using mop\nBy default, mop refreshes quotes and market data on a 5 minute (600s) interval.  These values can be changed in the .moprc file.\n\nFor demonstration purposes mop comes preconfigured with a number of stock tickers. You can easily change the default list by using the following keyboard commands:\n\n```\n   +                  Add stocks to list\n   -                  Remove stocks from list\n   ? h H              Display this help screen\n   f                  Set filtering expression\n   F                  Unset filtering expression\n   g G                Group stocks by advancing/declining issues\n   o                  Change column sort order\n   p P                Pause market data and stock updates\n   t                  Toggle timestamp on/off\n   Mouse Scroll       Scroll up/down\n   PgUp/PgDn          Scroll up/down\n   Up/Down arrows     Scroll up\n   j J                Scroll up\n   k K                Scroll down\n   q esc              Quit mop\n```\n\nWhen prompted please enter comma-delimited list of stock tickers.\n\nThe list and other settings are stored in the profile file (default: ``.moprc`` in your ``$HOME`` directory).\n\n### No Timestamp\n![image](https://github.com/mop-tracker/mop/assets/12674437/f753ce40-c9b2-4ed1-bf51-2a79c83f3f1c)\n\n### With Timestamp\n![image](https://github.com/mop-tracker/mop/assets/12674437/8d732111-d25a-425f-bdbf-f0ada6e04b75)\n\n### Expression-based Filtering\nMop has an in realtime expression-based filtering engine that is very easy to use.\n\nAt the main screen, press `f` and a prompt will appear. Write an expression that uses the stock properties.\n\nExample:\n\n```last \u003c= 5```\n\nThis expression will make Mop show only the stocks whose `last` values are less than $5.\n\nThe available properties are: `last`, `change`, `changePercent`, `open`, `low`, `high`, `low52`, `high52`, `volume`, `avgVolume`, `pe`, `peX`, `dividend`, `yield`, `mktCap`, `mktCapX` and `advancing`.\n\nThe expression **must** return a boolean value, otherwise it will fail.\n\nFor detailed information about the syntax, please refer to [Knetic/govaluate#what-operators-and-types-does-this-support](https://github.com/Knetic/govaluate#what-operators-and-types-does-this-support).\n\nTo clear the filter, press `Shift+F`.\n\nYou can specify the profile you want to use by passing ``-profile \u003cfilename\u003e`` to the command-line.\n\n### Options and settings\n\nIn `~/.moprc`:\n\n```\n    \"RowShading\": true,\n```\n\nwill cause row shading on alternate lines.\n\n### Contributing\n* Pull requests accepted.\n\n### License\nCopyright (c) 2013-2024 by Michael Dvorkin and contributors. All Rights Reserved.\n\"mike\" + \"@dvorkin\" + \".net\" || \"twitter.com/mid\"\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":["Go","Repositories","\u003ca name=\"financial\"\u003e\u003c/a\u003eFinancial tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmop-tracker%2Fmop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmop-tracker%2Fmop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmop-tracker%2Fmop/lists"}