PureBytes Links
Trading Reference Links
|
On Thursday, October 19, 2000, 2:04:23 PM, ztrader wrote:
z> I rename symbols a lot as I build continuous contracts.
I've had several requests for how to do this, so here it is:
Let's assume going from SPU to SPZ.
BACKUP ALL ORIG FILES FIRST!
Copy out SPZ to first good day
Apply split ratio to SPU to change prices
Copy to SPUadjusted file
Rename SPZ to something
Rename SPU to SPZ
Copy to SPZroll, only to roll date
Delete SPZ
Rename something to SPZ
Import SPZ roll
Add SPU to portfolio
Paste in SPU original file
You're done, if there are no mistakes :-).
HTH,
ztrader
|