Image size: ~1.70MiB. Stock market tracker for "hackers". USER: 159915.
9.6K
docker run -it --rm --log-driver none --read-only -v /usr/share/zoneinfo/Your/Location:/usr/share/zoneinfo/Your/Location:ro -e TZ=Your/Location defnotgustavom/mop
By default, mop refreshes quotes and market data on a 10 second (10s) interval. These values can be changed in the .moprc file.
For demonstration purposes Mop comes preconfigured with a number of stock tickers. You can easily change the default list by using the following keyboard commands:
+ Add stocks to the list.
- Remove stocks from the list.
o Change column sort order.
g Group stocks by advancing/declining issues.
f Set a filtering expression.
F Unset a filtering expression.
PgDn Scroll Down, down arrow key also works.
PgUp Scroll up, up arrow key also works.
? Display help screen.
esc Quit mop.
When prompted please enter comma-delimited list of stock tickers. The list and other settings are stored in the profile file (default: .moprc in your $HOME directory)
Mop has an in realtime expression-based filtering engine that is very easy to use.
At the main screen, press f and a prompt will appear. Write an expression that uses the stock properties.
Example:
last <= 5
This expression will make Mop show only the stocks whose last values are less than $5.
The available properties are: last, change, changePercent, open, low, high, low52, high52, volume, avgVolume, pe, peX, dividend, yield, mktCap, mktCapX and advancing.
The expression must return a boolean value, otherwise it will fail.
For detailed information about the syntax, please refer to Knetic/govaluate#what-operators-and-types-does-this-support.
To clear the filter, press Shift+F.
You can specify the profile you want to use by passing -profile to the command-line.
Content type
Image
Digest
sha256:fcf377f9e…
Size
1.7 MB
Last updated
almost 2 years ago
docker pull defnotgustavom/mop