App for stock Exchange integration that provides real time NSE data

Page 1

Case Study Stock Trading Application for Options Portfolio Management

www.brainvire.com | Š 2013 Brainvire Infotech Pvt. Ltd

Page 1 of 1


Client Requirement Option Tracker is a web based stock trading application. The niche target audiences are people who trade in options on the stock market and want to manage their portfolio in an easy-to-use software. The money control is for managing portfolios of stocks, options tracker will be for managing portfolio of options. The client required a website which will allow people who trade in options to manage their options portfolio and track their MTM (marked to market) profit and loss on a day-to-day basis. Featured Services • • • • • •

• • • •

Manage your Options portfolio easily. Keep Track of your MTM (marked to market) profit or loss automatically. Option Tracker does that for you with NSE data in real time. Calculate delta, gamma, theta and vega of all the strike prices. Let Option Tracker keep track of all the Stop Loss & Targets for all your positions. Use scenario calculator to find theoretical price of options at different prices and IVs. Use strategies like Long Call, Long Put we Collar Trades, Covered Calls, Iron Condors, Call Calendars, Put Calendars (Total 40 inbuilt strategies which automatically populate the strikes for you) Compare HVs of all the stocks with current IVs and spot opportunities to go Vega long. See the strategies come alive with Google graphs. Post your profitable trades on your facebook profile and share the happiness. Broker Neutral: Option Tracker is not a broking firm, so you can use your existing broker for executing the trades.

Project Challenges Team faced the following challenges: •

Obtain data from NSE, NSE FTP and download the files and parse it for all the underlings.

Update all MTM prices and P&Ls, Greeks in the trn_strategy and trn_positions tables for all the users.

Replace the old data with the new data ... only one set of data for all the underlying will be there. This function will calculate all Greeks and store it in the strategy and position tables for all strikes.

Update HV Table (Historical Volatility) using standard deviation formula for all the underlying.

Check for email triggers for all users (stop loss, targets, MTM summary, subscription expiry events) and send the required emails.

www.brainvire.com | © 2013 Brainvire Infotech Pvt. Ltd

Page 2 of 2


Technologies Used Operating System & Server Management

Development Tools & Environments

Windows OS, Multi-Server Architecture with Staging & Production Environment through Version Controlling releases, Server Optimization, Security & SSL Implementation, Scheduler for Back-ups, Alert Monitoring System Integration, Server Performance Tuning at regular intervals, Software Firewall Configuration & Maintenance ASP.Net, MVC, C# etc. MS-SQL Database Server 2008, Report Service (SSRS), DB Clustering, DB Optimization, Master Slave Replication, Query Optimization, Scheduler for Backups

Database

Manpower Project Leader

1

Developers

4

Designers

2

Quality Assurance Testers

2

Planning Keeping in mind the enormous structure of the website and the challenges involved a four-tier development approach was adopted consisting of: • The Database layer containing MSSQL Server Database, Tables, Stored Procedures and so on. • The Data Access layer containing the libraries responsible for accessing data from the database. • The Business Logic layer consisting of all the business logic procedures for modules like user profiles, groups, registration info etc. • The User Interface layer which forms the Graphical User Interface of the website.

www.brainvire.com | © 2013 Brainvire Infotech Pvt. Ltd

Page 3 of 3


Architecture We used 4-tier architecture which consists of Presentation layer (PL), Business Access layer (BAL), Data Access layer (DAL), Database layer (DL). DL: Database layer contains MSSQL Server Database, Tables, Stored Procedures and so on. BAL: Business Access layer contains business logics and validations related to the data. DAL: Data Access layer contains methods which help the Business layer to connect the data and perform the required action such as returning data or manipulating data (insert, delete, update). PL: Presentation layer contains .asp or html where data is presented to the user as well as the inputs is taken from the user. Deployment Architecture For deployment, we are using Windows Server 2008 with IIS7. Also, we are using MVC architecture. The benefits of MVC are: 1. 2. 3. 4. 5. 6. 7. 8. 9.

Enables full control over the rendered HTML Provides clean separation of concerns (SOC) Enables Test Driven Development (TDD) Easy integration with JavaScript frameworks Follows the design of stateless nature of the web Restful URLS that enables SEO No View-State and Post-Back events It provides RAD development Easy development models for developers those coming from Win Form development

Development Highlights The application provided the client with a system capable of handling all the data and with ease of access for everyone. The detailed requirement gathering was done on-site and helped setting up a well-designed system with all modules integrated into it along with the control over user access. Trading data was easily transported from machine to the database and in return shown to the user on web interface as Report. The control of the site was given to the administrator who can set-up user, user roles and assign page-level access to each user.

www.brainvire.com | Š 2013 Brainvire Infotech Pvt. Ltd

Page 4 of 4


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.