Rabu, 28 September 2011

Developing Trading VBA in Excel

By Randy Barrett


Experienced traders use Excel continuously, but how do they make their trading VBA models operate in a rapidly moving situation rich in huge amounts of data? This is one of the main issues when coding VBA for capital markets purposes. The techniques for implementing a capital markets Excel product are well known on Wall Street. This short article discusses programming VBA in a rapidly evolvingfast-paced environment for best success.

A primary problem is how the underlying Excel model will be used. Is it a real time trading program with straight through processing, intelligent profit computations, and a big powerplant behind it? Or is it a specific valuation or position tool with intricate models and formulas? Is it employed by a trader, controller, data analyst, technical analyst or quant, or controller? The model's trading VBA will be utilized differently in each use case.

Next, do you wish to employ the entire model in VBA with Excel simply capturing the inputs or underlying data? Or will the VBA be joined with formulas, manual routines, charts, or any other Excel capabilities? VBA can be used to do nearly anything from pricing to trade execution to risk assessment and market data capture.

Quality trading VBA has to be coded in a highly componentized fashion. Using Windows native VBA capabilities, you can build a catalogue of tailor made functions which will then be called within your VBA and with user controls including text input. The more modular you produce your program code, the better. As soon as your code library becomes large enough, you're ready to think about building it into an add-in library instead of housing it within a sheet. This lets you promote your trading VBA among numerous users, for instance a selection of trading desk professionals tracking P&L and entering trades, or several traders across diverse geographic places.

There will be an overlap involving the functionality of a sophisticated Excel trading model and specialist trading computer software. You may use VBA to speed up data transfer and investigation, create active blotters, generate and perform trade instructions, journal trade activities, measure risk and exposure stop losses, monitor recent and cumulative P&L, operate risk systems, and analyze historical trading performance. Although VBA isn't the fastest language, it is highly practical and will save a lot of time when compared with performing everything in Excel manually.

Considering these things before developing your Excel trading VBA will help you prepare and code any project the best way to maximize success.




About the Author:





Related Post



0 komentar:

Posting Komentar

Related Posts Plugin for WordPress, Blogger...