nsrikiran 3 posts msg #152627 - Ignore nsrikiran |
6/13/2020 11:36:33 PM
Would some one please help me/
Examples:
1) American Airlines 7 day return -10%
2) Delta Airlines 7 day return -10.9%
Find all stocks where average return for X days.
Thank you,
Sri
|
dwiggains 444 posts msg #152629 - Ignore dwiggains |
6/14/2020 8:40:27 AM
see ya
david
|
nsrikiran 3 posts msg #152633 - Ignore nsrikiran |
6/14/2020 1:44:05 PM
Hi David,
I tried your code but its returning AAL symbol.
I am trying like this: In google search when type " AAL stock" , search result will return AAL chart.
On chart we have 1 day, 5 Day ...
shorturl.at/hlvOY
So I selected 5 days, then on chart you can select area from left side to right side by click and dragging to right side.. then area will be covered for 5 days , where you will see 5 days return as -15.96%
I am trying to find such stocks...whose average return is in %
But some your code is not picking AAL.
|
xarlor 581 posts msg #152638 - Ignore xarlor |
6/14/2020 7:34:41 PM
You asked for a 7-day return so that is what dwiggains gave you. AAL was well below the current price 7 days ago.
Here is the same filter with a 5-day return. To get X-day return just replace the 4s below with X-1. So for a 10-day return, you would put in 9s.
|