Click here to Login

Create a Trading Strategy using Portfolio123 Ranking Systems

Updated on 2011-04-05

Based on ranking systems developed using Portfolio123, you can create advanced and powerful trading strategies in QuantShare. You can combine these fundamental ranking systems with technical indicators, put/call data, news data or market indicators.

Import Portfolio123 Ranking System Data

In QuantShare top menu, select "Divers" (used to be "Extern") then "Portfolio123".
In the P123 control, select "Settings" and enter your P123 login and password. Select "RS" tab then click on "Load" to import the complete list of ranking systems to your favorite trading software.

Select a ranking system then click on "Create item". Now, go to P123 tab, select the previously created item, select the start/end dates and click on "Start Download".

Let us say we have downloaded data for a ranking system whose name is "BJS Mo". The data will be stored in a custom database that have the same name (BJS Mo).

Create your Trading System

Open the Simulator Manager (Analysis -> Simulator) then create a new trading system by clicking on "New".
In the "Buy" panel, click on "add rule" and enter the following rule:
GetData("BJS Mo", "BJS Mo") > 99

Replace "BJS Mo" by the name of your ranking system. Use the CONTROL+SPACE shortcut after typing the first open parenthesis of the "GetData" function to display the list of custom databases.

In the above rule, we have instructed the trading software to enter a long position if the ranking system value of a stock is higher than 99.

Backtest your Strategy

Click on the "Create a trading system" button to save your strategy.
In the Simulator Manager, select your strategy then click on "Simulate / Backtest".

In this example, we wanted to show you how easy it is to create a strategy based on the "GetData" function and on a Portfolio123 ranking system.
You can experiment with this function by combining two or more ranking systems, adding or applying technical indicators to your ranking system time-series...

no comments (Log in)

QuantShare Blog
Search Posts

Recent Posts

Create Graphs using the Grid Tool
Posted 327 days ago

Profile Graphs
Posted 432 days ago

Previous Posts

More Posts


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

Copyright 2021
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.