Click here to Login





                                                   Change a symbol

  0

0
allan nathan
2018-08-22 08:25:11


Hi,
How do I change a symbol for a stock so I can merge the new data to the old data

VRX changed their symbol to BHC on 6/18


Thanks,

Allan



QuantShare
2018-08-23 10:58:13

  0

You need to use the script editor for this: (Tools -> Script Editor)
Symbols.RenameSymbol(oldName, newName);

Or simply delete the symbol and create a new one.



allan nathan
2018-08-23 12:02:01

  0

All I have to do is type

RenameSymbol(vrx,bhc);

and Execute??

it did not work



QuantShare
2018-08-29 20:24:24

  0

Best Answer
Symbols.RenameSymbol("vrx", "bhc");


allan nathan
2018-08-30 12:52:19

  0

Git it..that worked !!!!


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 Correlation with its Industry - Change over time
Per Symbol Average Output
Ticker Symbol Index
Rate of Change Volume
Stock Ranking using Rate of Change and SMA Volume

How-to Lessons
How to rename a ticker symbol
How to quickly add a ticker symbol
How to dynamically change the number of positions in a portfolio?
How to change volume bar colors when the price closes down
How to download new quotes when selecting a chart

Related Forum Threads
Symbol Change
change of ticker symbol
Symbol Change
Account Change
guru The ticker symbol for

Blog Posts
Update Chart Layout based on Active Ticker Symbol
Update Chart Layout based on Active Ticker Symbol - Part 2
Backtesting Your Trading Systems: Symbol Segmentation
Introduction to the Events Monitor Tool
How to Adjust the Time Displayed in your Intraday Charts









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.