Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Use Mop monitor stock prices at the Linux command line     - How to troubleshoot Windows and Ubuntu dual system time is not synchronized (Linux)

- Ubuntu 14.10 splash screen brightness settings (Linux)

- Java 8 stream parsed into SQL (Programming)

- Oracle 11g modify MEMORY_TARGET (Database)

- To upgrade combat MongoDB database replication sets and split versions (Database)

- Laravel cache paged results (Server)

- Linux configuration Samba server (Server)

- C ++ Supplements - locates the new expression (Programming)

- Linux Network Programming --IP packet format Detailed (Programming)

- UNIX and class UNIX system security check notes (Linux)

- When the master key encounter NULL (Database)

- Android source code compiled fatal error solutions (Programming)

- Tip: Use Cryptsetup U disk encryption (Linux)

- Android in the event delivery and handling mechanism (Programming)

- Generators and iterators in Python (Programming)

- To remove those IP is prohibited Fail2ban on CentOS 6/7 (Server)

- Nginx version of helloworld (Server)

- Ubuntu 14.04 installation and configuration environment variable JDK1.8.0_25 (Linux)

- Install NetBeans IDE 8.0 on Ubuntu, Linux Mint, Elementary OS, and Debian (Linux)

- Android design patterns - state mode (Programming)

  Use Mop monitor stock prices at the Linux command line
  Add Date : 2018-11-21      
  Have a hidden income is usually very good, especially when you can easily coordinate amateur and full-time jobs. If your daily work using a networked computer, stock trading is a very popular option to get extra income.

But now only a few stock monitoring software can run on linux, most of which is still based graphical interface. If you are a Linux expert, and a lot of work time in the absence of a graphical interface computer? You is not no solution? No, there are some command line stock tracking tools, including Mop, which is herein to chat tools.


Mop, described above, is a command-line stocks continuously display and update stock information and tool independent. Use GO language, it is the brainchild of Michael Dvorkin.

Download and install

Because this project uses GO achieve, so you have to do is to install the first step in this programming language on your computer, the following is in Debian-based systems, such as the GO step of the installation on Ubuntu:

sudoapt-get install golang
mkdir ~ / workspace
echo'export GOPATH = "$ HOME / workspace" '>> ~ / .bashrc
source ~ / .bashrc
The next step is installed after the installation of the GO Mop tools and configuration environment, you need to do is run the following command:

sudoapt-get install git
go get github.com/michaeldv/mop
cd $ GOPATH / src / github.com / michaeldv / mop
make install
export PATH = "$ PATH: $ GOPATH / bin"
After you finish you can run the following command Mop:


When you first run Mop, you will see output similar to the following information:

As you can see, these output - periodically auto-refreshing - contains several major stock exchanges and information.

Add Remove stock

Mop allows you to easily output from the list of add / remove stocks information. To add, all you have to do is press the "+" and enter the name of the stock. For example, the following figure is to add Facebook (FB) to the list.

I press the "+" key, it appears that contains the text "Add tickers:" The one, I suggest to add the name of the stock - I added the FB and then press Enter. Output list is updated, and the new stock I added also appears in the list:

Similarly, you can use the "-" key to delete the name of a stock and stock offer.

Grouped according to price

There is also a way to share groups: based on their share prices rise and fall, all you have to do is press the "g" key. Next, the stock will be grouped: l together with a green font, and the stock will decline in black font.

Column sorting

Mop also allows you to change depending on the collation of column types. This usage requires you to press the "o" (default value of this command to sort the first column), and then use the left and right keys to select the column you want to sort. Press Enter after the completion of the content of reordering.

For example, the screenshot below is based on the first column of the output, according to the alphabet after sorting results.

Note: For a better understanding, and in front of screenshots compare.

other options

Other available options include "p": Pause and stock market updates, "q" or "esc" to exit the command-line program that displays the help page "?."

in conclusion

Mop is a stock-based monitoring tool that does not offer too many features, only the features it claims. Obviously, this is not a tool for professional stock trader provides, just as you are only on the command line of the machine provides a decent selection of tracking stock information.
- Ubuntu install the camera driver (Linux)
- Use IP address spoofing Intrusion Prevention Firewall (Linux)
- Python cause yum upgrade error (Linux)
- Linux shared libraries .so file name and Dynamic Link (Linux)
- CentOS 6.4 under PXE + Kickstart unattended operating system installation (Programming)
- Ansible module Know (Linux)
- MySQL IO SSD attempt at optimization (Database)
- Manager Docker browser (Server)
- I use the desktop environment in GNU / Linux combination tool (Linux)
- C ++ inheritance and derived (induction principle) (Programming)
- MySQL group_con cat_max_Len (Database)
- Observation network performance tools for Linux (Linux)
- Linux learning portal: CentOS 6.4 system kernel upgrade (Linux)
- Oracle data files deleted recover after physical (Database)
- How to configure a server in a MySQL Cluster (Database)
- PF_RING 6.0.2 compiled and installed on Redhat 6.3 x86_64 (Linux)
- How to restart after a crash Cinnamon (Linux)
- Three strategies to teach you to release the device memory (Linux)
- Linux scheduling summary (Linux)
- CentOS7 installation configuration Redis-3.0.0 (Database)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.