Android Application Stock Portfolio
Mar 7, 2011 at 8:27 pm in Application by Manav Singhal
Stocks Portfolio is android application that enables the user to access and manage information of any stock – anywhere, anytime.
Like any stock application on your PC or on the Web, Stocks Portfolio lets the user:
- Add stocks (store stock symbols on a phone)
- Delete stock(s) (remove stock symbols)
- View live information of selected stocks, such as current high price, low price, volume, etc.
You can also view the charts related to the stock symbols for which you want to see.
Stocks Portfolio is based on client-server architecture. The server will provide all required stock information, such as live data and graphs.
Additionally, Currency Converter is also provided in the application in order to view the current updates. Mobile currency converter helps convert all major currencies to their respective foreign currency exchange rates.
Development Tools Required:
- Now we require Eclipse IDE installed in our system.
- Secondly we require Android SDK installed. This application is tested on the Android 2.1 Version
- We would also be requiring Java 1.6 installed in the system.
The application was designed to meet the needs of the stock market customers. The application provides its users with a plenty of valuable features.
The application has easy to use GUI with the capability of creating/editing/deleting portfolios that store the user preferences of stocks and prices.
Portfolio information retrieval is done through:
GPRS: The connection cost in this case is reduced to a minimum since only those few bytes requested by the user will be downloaded to the mobile phone.
Wi-Fi: A feature available for smart/3G mobile phones having a Wi-Fi adapter. The application in this case directly routes the connection through Wi-Fi, hence totally eliminating the cost.
- User can set alerts and receive an Notification and vibration in the phone when a stock price hits a specified target defined by the user.
- User can retrieve a chart for selected stock containing stock information for the past days.
- Information retrieval is automatically updated according to the refresh rate seconds set by the user.
- A secured connection using HTTP protocol to prevent information fraud.
Another feature also provided is the Currency Converter which converts all the major currencies to the foreign exchange rates.
Current mobile phones can only view mobile-accessible websites that offer stock information. Mobile users are forced to download the complete content of the website which is likely to include unused information. Given that most stock prices are continuously changing, downloading the stock information can be inconvenient, since GPRS is known to be expensive and slow. Furthermore, many brokerage and financial markets do not offer mobile-accessible websites.
I developed android application to efficiently monitor and trade stocks. The application consists of a client, placed on the mobile phone that connects to a server via GPRS or Wi-Fi. The server connects to the financial markets via the web, collects the latest stock information, filters out unnecessary information, and stores it in a local database. Stock information is sent by the server to the client whenever the client requests it. The sent information is efficiently encoded to reduce the packet size, speed up the transmission, and reduce the telecommunication costs.

