Click here to Login





                                                   Ranking using Pivot Tables

  0

0
Amritendu Maji
2017-08-17 23:09:27


I would like to see if we can rank a portfolio of stocks in a pivot table.

Say, we have five stocks, A, B, C, D, E. We calculate their ROC(Close, 5), ROC(Close, 10), Alpha, and UPI. I can do that and list it in a Pivot table.

However, I want to rank them according to the formula [2*(ROC5 + ROC10) + Alpha + UPI]/6 and display the rank and possibly rearrange the rows in order of rank.

How can I do that using the Pivot Table in QS? I know I can export it to Excel and then do it, but I wanted to see if I can do it automatically.

Thank you.



QuantShare
2017-08-23 11:18:04

  0

Best Answer
The pivot table does not support sorting.


Seeker
2017-09-28 02:37:15

  0

Any scope to add sorting in Pivot Table? Few other enhancements:
1) Removing non-trading days from the output
2) The number of days seem to be limited to 10,000. Keeping this unlimited.
3) Ability to display full name instead of symbol name.



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Stock Ranking using Rate of Change and SMA Volume
Super Stock Screener Ranking System
Intraday Trading System with Daily Ranking
RSI(3) Ranking System
Percentage of Stocks Trading Above their Pivot Point

How-to Lessons
How to draw an horizontal segment line using QS language
How to plot a stock using different periods in the same chart
How to calculate the average of a time series using the money man...
How to debug a trading system using the money management tool
How to get stocks for a particular index using the global script

Related Forum Threads
Stock Ranking using ... object
Can Pivot Tables run my symbols in the order provided? (not sorte...
Saving Pivot Tables
pivot tables
Need Simple Example of Ranking Stocks Implemented in Trading Syst...

Blog Posts
Pivot Tables in QuantShare Trading Software
How to predict and trade the stock market using pivot points
How to Display the Year-to-Date Excess Return in a Pivot Table
Ranking stocks based on their correlation with the S&P 500 Index
How to Backtest an Intraday Stock Trading System with EOD Ranking









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
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.