A wide variety of market participants use Excel for trading on a daily basis. The steps you need to take to implement Excel correctly for trading are relatively simple. You need to think about your desired workflows, then build the various spreadsheets and data sources and integrate them.
There are many ways to use Excel for trading, and your first consideration should be narrowing down your intended use of the tool. Will you use it to compute trading signals? Is your interest importing data automatically into Excel? How about calculating profits, drawdowns, risk and other analytics? Do you have many open positions you need to track? Would you like to integrate Excel with a charting platform? Are you interested in automating your workbooks with VBA to increase speed and accuracy?
Bringing price and volume data into a spreadsheet automatically is one way to implement Excel for trading. This uses DDE links to a price data database, either an internal or vendor provided database. DDE links are efficient and can capture fast moving prices (with certain limitations relevant to algorithmic trading). Importing price and volume data into Excel with web query functionality is an alternative to DDE links. This works if you want to capture a smaller volume of prices or economic data from websites like Yahoo Finance, Google Finance, etc. You can also import data into Excel using the Data from Other Sources function. This connects to SQL Server, MS Analysis Services, XML files and ODBC -- this is a good option for the technically minded.
Using Excel for trading is highly dependent on data. Importing prices and fundamental data into Excel automatically is a great first step to implement Excel for trading. In fact, not much else can be achieved until you import data, so this is a basic foundation step. There are multiple ways to do this. DDE links can be used to import data from a data vendor. Your broker's API can be used to connect to the actual prices your broker uses. Internal or vendor provided databases can be connected using SQL or web queries. How you implement the data import will have a lot to do with your strategy and the data types you want. For automated intraday trading with fast moving prices a DDE link is best. The Data from Other Sources function in Excel uses SQL Server, XML files or ODBC to connect to a database if you have one internally at your office or home. Web queries can work for end of day and fundamental quarterly type data. Economic data comes out infrequently so speed is not an issue.
Implementing Excel for trading requires planning your spreadsheet designs to put everything together correctly. The key things are having accurate and well tested formulas, and being able to find what you need when you need it. Multiple simpler spreadsheets linked together or a single large spreadsheet with multiple tabs are possible. You will likely have a mixture as you build out your spreadsheets. Keep in mind that it's easier to manage small workbooks with fewer tabs and they take up less memory and run faster. The ideal approach is to design in a modular way with each spreadsheet for a specific purpose. Be careful of external links, however. These can break and slow things down, and are difficult to debug if you have a lot of them. Also, if your spreadsheets have more than 10,000 rows of data, charts, and multiple tabs together then they may slow down. It's risky to have your whole trading workflow in one Excel file. Be sure to back up your files externally.
Considering these factors beforehand will help you put together the best Excel for trading layout to achieve your specific needs.
There are many ways to use Excel for trading, and your first consideration should be narrowing down your intended use of the tool. Will you use it to compute trading signals? Is your interest importing data automatically into Excel? How about calculating profits, drawdowns, risk and other analytics? Do you have many open positions you need to track? Would you like to integrate Excel with a charting platform? Are you interested in automating your workbooks with VBA to increase speed and accuracy?
Bringing price and volume data into a spreadsheet automatically is one way to implement Excel for trading. This uses DDE links to a price data database, either an internal or vendor provided database. DDE links are efficient and can capture fast moving prices (with certain limitations relevant to algorithmic trading). Importing price and volume data into Excel with web query functionality is an alternative to DDE links. This works if you want to capture a smaller volume of prices or economic data from websites like Yahoo Finance, Google Finance, etc. You can also import data into Excel using the Data from Other Sources function. This connects to SQL Server, MS Analysis Services, XML files and ODBC -- this is a good option for the technically minded.
Using Excel for trading is highly dependent on data. Importing prices and fundamental data into Excel automatically is a great first step to implement Excel for trading. In fact, not much else can be achieved until you import data, so this is a basic foundation step. There are multiple ways to do this. DDE links can be used to import data from a data vendor. Your broker's API can be used to connect to the actual prices your broker uses. Internal or vendor provided databases can be connected using SQL or web queries. How you implement the data import will have a lot to do with your strategy and the data types you want. For automated intraday trading with fast moving prices a DDE link is best. The Data from Other Sources function in Excel uses SQL Server, XML files or ODBC to connect to a database if you have one internally at your office or home. Web queries can work for end of day and fundamental quarterly type data. Economic data comes out infrequently so speed is not an issue.
Implementing Excel for trading requires planning your spreadsheet designs to put everything together correctly. The key things are having accurate and well tested formulas, and being able to find what you need when you need it. Multiple simpler spreadsheets linked together or a single large spreadsheet with multiple tabs are possible. You will likely have a mixture as you build out your spreadsheets. Keep in mind that it's easier to manage small workbooks with fewer tabs and they take up less memory and run faster. The ideal approach is to design in a modular way with each spreadsheet for a specific purpose. Be careful of external links, however. These can break and slow things down, and are difficult to debug if you have a lot of them. Also, if your spreadsheets have more than 10,000 rows of data, charts, and multiple tabs together then they may slow down. It's risky to have your whole trading workflow in one Excel file. Be sure to back up your files externally.
Considering these factors beforehand will help you put together the best Excel for trading layout to achieve your specific needs.
About the Author:
Want information about Excel for trading? Visit this site for a FREE GUIDE on building trading models in Excel.
No comments:
Post a Comment