Click here to Login

How to import trades into a portfolio

Updated on 2011-12-08

Maybe you have a list of trades from a financial website or a friend's trading system and you want to analyze and measure the performance of a portfolio that is constructed from these trades.

Importing trades into a portfolio requires that you save these trades in a specific format in a text or csv file and then use "Import Transactions" feature of QS Trading Software.

The file format is as follows:


Date should have a U.S. Format: M/D/Y h:m
Type must have one of the following values: Buy, Sell, Cover or Short


05/25/2011 10:20;TA.C;Buy;25.2;1200;0.25

If your list of trades file is not in the above format then use your favorite spreadsheet software (Excel for example) to make the appropriate changes.


- Select "Portfolio" then "Portfolio"
- In the Portfolio Manager, click on your trading system, select "Tools" then "Import trades from file". Alternatively, you can right click on the portfolio item to open a menu.
- Click on "Add File" then select your list of trades file
- Click on "Import"

In "Import Transactions" control, the "Symbol Field" option allows you to select the name field to use when matching file symbols with QuantShare symbols.
The default option is "Name".

Here is an example using "Name1":

Your database contains a stock that has "TA" as symbol name and your list of trades references the symbol "TA.C".
"TA" and "TA.C" references the same stock and therefore you want to associate these "TA.C" trades to "TA" stock.

One solution would be to set "Name1" in "Symbol Field" and set the "Name1" value of stock "TA" to "TA.C". Name fields can be updated by selecting "Symbol" then "Update" in the application main menu.

File containing few EUR/USD transactions:

no comments (Log in)


Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2015
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Follow us on Google+
RSS Trading Items

Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.