Ticker. How can I include a descriptor to the print out?
Author: wphill
Creation Date: 1/7/2011 9:54 AM
profile picture

wphill

#1
Currently, I run a coded strategy that gives me the option of a print out into excel.
This spread sheet provides a ranking. From left to right: ticker symbol, followed by rankings based on different time periods of my choosing. (eg.,21,30,55,90). With the increasing number of tickers
in my equity asset group, it would be helpful if I could include a categorical description next to the ticker in parenthesis or if it had its own column in the spread sheet (even better, if so). A down the road goal would be to color code the descriptors. These descriptors are something that I would add myself,and it would not be pulled from the full "name". The problem with the full name is that it is long and includes the retailer.

As an example: JOF (smcap japan)

profile picture

Eugene

#2
So you don't appear to be interested in Bars.SecurityName, you will add that yourself... could you clarify what your question is about? If the problem is adding a custom description to another string value, then this resource might come helpful:

C# String Overview - joining, inserting, concatenating etc.
profile picture

wphill

#3
Bars.SecurityName would be better than nothing and perhaps I can color code from there.
Is there an easy way to insert this series into the coded program....considering that I am a look a duck out of water when even trying to learn c#. (If they had a class run by Fidelity, here locally, I would go..fwiw)

Thanks.
profile picture

Eugene

#4
Inserting an arbitrary string (like Bars.SecurityName or its derivative) is accomplished with C# String functions. Please check the link in my reply above.
profile picture

Eugene

#5
For example:
CODE:
Please log in to see this code.

Same as:
CODE:
Please log in to see this code.


How do I start with C# ?
and the link above full of examples.
profile picture

wphill

#6
Eugene, thanks. I will have to digest this by playing around with it. Trial and error for me.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).