Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Use Mop monitor stock prices at the Linux command line     - Linux operating system must know the security command (Linux)

- Ubuntu 15.10 15.04 14.10 14.04 Install Ubuntu Tweak (Linux)

- Ubuntu 14.04 installed VirtualBox 4.3 appears vboxdrv: Unknown symbol mcount (Linux)

- Mhddfs: multiple smaller partitions into one large virtual storage (Linux)

- Linux Apache server configure to protect system security (Linux)

- Oracle 11g to create a second instance on Linux (Database)

- MySQL fuzzy query: LIKE and REGEXP pattern mode (Database)

- and localhost difference (Server)

- Achieve single backup of MySQL by innobackupex (Database)

- Windows using SSH management Ubuntu (Linux)

- How to disable IPv6 in the CentOS 7 (Linux)

- Object-C in the preparation of multi-parameter function parameter is omitted (Programming)

- ImageMagick Tutorial: How to cut images in Linux command line (Linux)

- DRBD rapid installation and deployment (Server)

- Ubuntu 14.04 compile RT288x_SDK / toolchain / squashfs3.2-r2 Error (Linux)

- MySQL EXPLAIN SQL output description (Database)

- Kickstart automated installation and deployment RHEL 7.0 (Linux)

- Use virt-manager to create and manage virtual machines (Linux)

- Shell script to crawl through AWR SQL Report Problems (Database)

- Batch download files using the explorer under Windows Server 2008 R2 (Server)

  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.
- Analysis of Java exception (Programming)
- Oracle 10g after the failure to start the upgrade (Oracle instance terminated. Disconnection forced) (Database)
- Linux screen commonly commands (Linux)
- Lenovo E431 notebook CentOS system is installed wireless network card driver (Linux)
- Linux how to view the graphics models notebook (Linux)
- To install Samba server on CentOS 6.6 (Server)
- Java objects are taking up much space (Programming)
- Linux installation notes under GAMIT (Linux)
- HAProxy performance under high concurrency (Server)
- GAMIT 10.50 installed in Ubuntu 12.04 system (Linux)
- Spring Data study notes -Helloworld (Programming)
- shell script error dirname: invalid option - b (Database)
- CentOS / RedHat system partition essential requirements and partition scheme (Linux)
- HBase cluster installation and deployment (Server)
- When Vim create Python scripts, vim autocomplete interpreter and encoding method (Programming)
- The Concept and Semantics of Java Memory Model (Programming)
- Using Maven to download Spring (Linux)
- CentOS 6.4 dial-up Raiders (Linux)
- Use SecureCRT to transfer files between Linux and Windows (Linux)
- Build ASP.NET 5 development environment in Ubuntu (Server)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.