Professional Documents
Culture Documents
Preface
1. This utility was originally developed to feed real time quotes from NOW
(Neat on Web) to Amibroker and distributed it freely with source code. After
using it for some period, it was realised that with some further coding, it can
be used to feed real time quotes from NEST, ODIN, Trade Tiger, Google and
Yahoo to charting applications like Amibroker, Fcharts Qtstalker and
Metastock also. This utility was upgraded to various versions. and now it has
become stable.
2. The utility gives RT quotes in Ami from the time you click on- Start. It does
not give RT from beginning of the day. So start RT and then open backfill.
Copy data upto the time you logged in into Backfill. When backfills warns
you, save database and do backfill. Your data will be current.
3. You do not have to record any excel macro.
4. Since you are reading this, it means you have downloaded the zip file
containing the utility and extracted it. This help file is accompanied by
following files. Use the files appropriate for your setup.
1
2
3
4
5
6
System Requirements
1. Minimum requirement is Excel 2007 32 bit and Windows XP or above.
2. Tested on Windows XP and Windows 2003 x64 Server, Windows 8 , Windows
7.
3. If you get N/A in RTNOW/Nest after Link to Excel - For those who
are using windows 7 and above, installing excel, Amibroker and
NEST(or NOW) in D: drive folders allows one to start programs as
normal user and get data feed with Josh utilities with out admin
privileges.
Setup
1. There are two stages involved in getting real time charts with this utility.
First - Getting the realtime feed from Trading software or Google/Yahoo to
Excel.
Second - Getting the realtime feed from Excel to Charting software.
2. Files of type *.xlsm can be kept anywhere in a separate folder. However, I
recommend keeping them wherever your Trading Software/application
resides. Users of NOW should move them to C:\Program Files\NOW or
C:\Program Files (x86)\NOW depending upon your version of windows. Users
of Nest Trader should move them to C:\Program Files\Omnesys or C:\Program
Files (x86)\Omnesys depending upon your version of windows. Users of Trade
Tiger should move them to C:\Program Files\TradeTiger
3. Files of type *.format ( Nest3.format and RTG3.format ) should be moved to
'Your\Path\to\Amibroker\format folder' since Amibroker requires them there.
4. Open Excel. Click on the Office icon on top left
5. Click on Excel Options- Trust Center - Trusted Locations - Add New
Location and give the path of folder where your Trading Software resides.
Also give the path of folder where you kept the *.xlsm files. For example, if
you have kept the excel files on 'desktop\RTNOW' folder, then include that
folder in trusted loactions. This way, excel will open the .xlsm file with
macros enabled. Otherwise, you will have to enable macros every time.
9. Click on Refil List and It will show the name of excel file.
10.Column settings as given in the image. They are self explanatory.
11.1st Data Row in our case is 7.
12. Click on Start. You can see one minute bars getting updated
live in FCharts.
Backfill.........
5. If Nest Plus has not started, following window will open. Login into Nest Plus.
6. Nest plus will start and intraday chart will be seen. If chart does not appear,
repeat previous step.
7. Click on the chart and select Data Table or press Ctrl+D.
8. Data window will open. This contains intraday data of last fifteen days. Click
on any row. Press Ctrl+A to select all rows.
11.Go to the Sheet1. Press Ctrl+V into cell A1 of Sheet1. If Coloumn B shows
###### instead of date, increase its width and you will see date time. You
are ready to backfill data.
12.See image below. Look at the Column B, Excel recognised date time and
right aligned it. If it is left aligned, there may be problem.
19.You can Change Scrip Name in RTNest while linking to Nest sheet so that it
matches with name in Data Downloader. I have given sample formulae in
RTNest for that. See all formulae.
20. Use simple find replace for scrips where name does not match.
10
2. The whole process will take about 10 seconds for each scrip. It can be used
for FnO scrips for upto 10 scrips and more if you do not get fatigued by
pressing Ctrl+P and Ctrl+D. For Cash scrips or for bulk backfill, you may use
Data Downloader by Joydeep that gives 10 days data from Google.
3. Note: If scrip name in NestPlus is different than your scrip name, you will
have to merge the two scrips in AmiBroker to integrate the data. For
example in my case Nifty future will be backfilled as NIFTYYMMMFUT. So
after running NOWBackfil I find a new scrip NIFTY12MAYFUT in the database.
I have to merge NIFTY with NIFTY12MAYFUT in AmiBroker. This can be done
from Symbol-Merge menu of AmiBroker. Target is NIFTY and mrge with
NIFTY12MATFUT. Overwrite Duplicate Quotes.
4. Working in Excel on other applications while realtime feed is running....
5. You will have to open separate instance of Excel from Start--Programs-MSOffice--Excel. do not open any file by double clicking on it.
11
Troubleshooting
1. I am not too good in computer related stuff, please help me.
You need not be good in computers to follow this. Follow all the instructions.
If you do not understand any instruction, ask me. Sorry, I cannot do spoon
feeding. Please help yourself first and thereafter I will help you.
2. I did everything as per instructions but I am not getting
charts. Please help.
What do you mean by that. I cannot help you with one line information.
Check whether you followed all the steps as given. Give me the exact step
where you are not getting desired results and ask specific question.
3. Backfill is not happening.
What do you mean by that. I cannot help you like that. Check whether you
followed all the steps as given and ask specific question. You do database
setting only once. Be sure that you give same database path to RT utility and
Backfill utility.
4. Microsoft visual basic Run -Time error '429' ActiveX
component can't create object"
Solution- This error occurs because of missing system files or registry
entries. See these sites for repairing
http://www.errorsupport.org/blog/visual+basic+runtime+error+429.html
http://windowserrorfixpro.com/runtime-error-429-fix-guides-to-repairruntime-error-429/
5. I did everything as per instructions but I am not getting data
from NOW/Nest to Excel.
This utility may not work on Windows 7 since there are some permission
issues on Windows7. If you get N/A in RTNOW/Nest after Link to Excel and
Paste in Windows7, nothing can be done.
6. In RTXXXX.xlsm the rates are changing. Symbols appear in
AMIBoker but I am not getting charts.
This in most cases occurs due to incorrect date setting. Date format should
be dd/mm/yyyy. Either correct date format of your PC in regional settings or
open RTG3.format file and change Date_DMY to Date_MDY in $Format line.
That file should be in AMIBroker\Format folder
7. AmiBroker does not open automatically when I click on
Start.
Your macros may not be enabled, enable it. When you open RTxxxx.xlsm,
excel asks you whether macros should be enabled. Also copy RTxxxx.xlsm in
to your Trading program folder and do Trust Center Settings.
8. When I click on start RT data, AmiBroker opens up, but blank
and no symbols in it. It gives me an error: formula file not
found or empty- no chart to display.
Copy RTG3.format and Nest3.format file into "formats" folder below
AmiBroker.
broker.newcharts This file is created by Amibroker in your database folder.
File containing references between chart layouts and formula files used. If
you delete it you will see "formula file empty or can not be found" in your
charts because reference between chart ID and formula is lost. You will NOT
however lose your formulas because formulas are separate. You will be able
to reinsert them into your charts.
9. I got a message from nest trader that "scrip RTD attribute is
not licensed"
This means you are not allowed take live quotes. Contact your broker and
tell him to activate RTD feature for your account. Nothing can be done before
that.
10. Amibroker does not open correct database. Every time I
have to choose data folder where past data is
saved !!!!!!!!!!!!!!!
This means you have not given correct database path. Open database
settings of correct database and give the same path in RTxxxx.xlsm.
11. Run time error 76 path not found, when asked to debug,
following line is highlighted
Set a = fs.CreateTextFile(FileName, True) 'Here we create the file MyCSV.csv
You have to keep cell B2 empty if you have not installed RAM Disk. Otherwise
you are bound to get that error. If it is empty, then try to create folder RT
on C: drive manually. You can also give some path their to create temporary
file.
12. Run time error 1004 (If you work in another Excel book
while getting Real time Data Feed)
This error occurs when you open another spreadsheet from the same
instance. Do not open another spreadsheet from same instance or by
double-clicking on it.
If you want to work in another Excel book while getting Real time Data Feed;
Open Excel by clicking Start-Programs-Microsoft Office-Excel2007. Then Click
on Office Icon and open another spreadsheet from that instance.
13. Run-time error '-2147024770 (8007007e) Automation error.
The specified module could not be found
This error occurs when some DLLs in windows are unregistered. This is
solved by registering the DLL module in Windows.
Try
Windows
->
Run
command,
%\system32\scrrun.dll and press Enter.
type:
regsvr32
%windir