Shubha RT plugin for Amibroker now launched

mrkanitkar

Well-Known Member
#11
I could finally configure your plugin just some time back. Quite easy to configure if you follow all the steps in the video correctly. Will check tomorrow live, and see how it works. :) Just wondering if there is some other quicker way to add bulk symbols? and if the symbols could be added minus the exchange name in Amibroker ?
We have given select all button to add all stocks. One can even copy all symbols from ShubhaRtsymbollist file to ShubhaRT.txt but there is risk of human error. If some space, comma get added, deleted one letter etc, system will not work.

We wish we could remove just symbol name but NEST RTD server provides data with exchange name.
Please keep in mind, data is saved in download path and not in Amibroker on exit. One can always import it in Ami as shown in video. Many people use 1 min. IEOD as good data than just tick data.
There are 3 controls for data.
1.Plugin config window refresh rate settings decided how fast data should be pulled from your terminal and save to local file system. Keep refresh interval to 1 to 3 sec depends on machine config
2.Ami db settings, data interval you can set ami db to either 1 sec or 1 min. It will decide your default interval on chart. If you select 1 min, you will not see tick data option on chart.
3. Chart auto refresh speed. This allows you to decide how fast you want chart to be refreshed. You may have 40 symbols added in pull list but you want to look at only 3 charts at a time. You should configure chart formula with RequestTimedRefresh( 5 ); where value can be to 1 or may be 10. It will auto refresh chart after either every 1 sec or 10 sec etc. We kept it user configurable. http://www.amibroker.com/guide/afl/RequestTimedRefresh.html If you want to increase your heartbeats, make it to 1 sec. :) . If this value is not set, chart will not update automatically, it will update only when you will click on chart but plugin will keep pulling data from RTD server in background.
If NEST crashes, please reduce refresh interval. This is because NEST is not designed for data vending and is designed for trading.
If Data not coming, please ensure all symbols are in terminal. If you have future or option symbol and you are pulling data on last Friday (day after expiry), you need to clean up symbol list. This is because you will not get any data for old symbol any more from RTD and plugin will get error message from RTD.
If you pull data for some symbols which are not in terminal e.g. SBIN equity, NEST terminal will give data to plugin but will keep showing warning msg on NEST and pop up.
Please avoid such things.
We have tested app for NEST and NOW (needs separate topic names - can be taken from excel) for 40 symbols on 1 sec frequency. It works best. Please ensure NEST, AMI both run as Admin. This is for windows 7 and window 8.
 
Last edited:

Vertigo_1985

Well-Known Member
#12
This is because, same file is open by some other program (may be notepad), please click continue. It should work as shown in video. Which OS you are having? If you need help, in setting up app, let us know. Support team can help.
I am sure that notepad wasn't open. I am using XP sp 3. I did have other excel workbooks open, but that should't effect the app..rite? will try tomorrow again.

Regards
 
#13
Have watched the video configuring the plugin and followed all the steps...

Using NSE NOW..Win 7 ( All programs running as Admin)
IN the plugin settings..Under the RT Setting Tab.. I have selected "NOW"
And in Program ID : Changed it to now.scriprtd
It gets connected and the indicator turns green..
Value changes in excel as per the terminal
But immediately getting a message " Value Does Not Fall within the expected range "

Any help where i have gone wrong... Please !
 

mrkanitkar

Well-Known Member
#15
Have watched the video configuring the plugin and followed all the steps...

Using NSE NOW..Win 7 ( All programs running as Admin)
IN the plugin settings..Under the RT Setting Tab.. I have selected "NOW"
And in Program ID : Changed it to now.scriprtd
It gets connected and the indicator turns green..
Value changes in excel as per the terminal
But immediately getting a message " Value Does Not Fall within the expected range "

Any help where i have gone wrong... Please !
Please check values for LTP and others, they are different in NOW. You can take these values from excel. Check video. You can also contact support.
 

Vertigo_1985

Well-Known Member
#16
No prob, let me know.
It is writing correct symbol name in the download folder - ' Symbol Name
nse_cm|DLF-EQ', but no symbol appears on the config window. Also when connect button is clicked on server connection window it gives below error, when i click continue it stays on the same connection window.

This is the error message i am getting when i click continue on server window after setting excel, symbols. I am using XP SP3 and Excel 2007, maybe it is an office issue but then at least symbol should appear on the application config window....

-----------------------------------------------------------------------------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
at AmiBrokerPlugin.Righclick.StartRt_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ShubhaRt
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/AmiBroker/Plugins/ShubhaRt.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
---------------------------------------------------------------
 

GTji

Active Member
#17
I checked the plugin live yesterday on NSE NOW. I found that there is a significant delay in the quote update from NOW to Amibroker (sometimes the delay is more than 3-4 seconds, which is totally unacceptable). I tried setting the RT setting in the plugin to 1 second refresh and even 0 second refresh. I also used requesttimedrefresh function (set to 1 second) in the Amibroker AFL chart, but that did not make any difference. Let me know if I should be doing some other changes to the setting.

There should be preferably zero delay, or at the most a delay half a second.

Thanks
 
Last edited:

GTji

Active Member
#19
I checked the plugin live yesterday on NSE NOW. I found that there is a significant delay in the quote update from NOW to Amibroker (sometimes the delay is more than 3-4 seconds, which is totally unacceptable). I tried setting the RT setting in the plugin to 1 second refresh and even 0 second refresh. I also used requesttimedrefresh function (set to 1 second) in the Amibroker AFL chart, but that did not make any difference. Let me know if I should be doing some other changes to the setting.

There should be preferably zero delay, or at the most a delay half a second.

Thanks
Sorry I meant to say this ' (sometimes the delay is more than 3-4 seconds, which is totally unacceptable)'
 

mrkanitkar

Well-Known Member
#20
@Vertigo_1985
It's excel 2010 error. We have used office 2010/ excel 2010 based libs.
It will need excel 2010 or 2012 onwards app installed.

@GTji
If you open quote editor, we will find app receiving quotes as and when it gets from terminal. App sends request to terminal after every 1 second (or depends on your config), terminal RTD server returns data, app checks if there is change in LTT it saves it to file and sends to AMI. If it does not find any change, it does not save data and so does not send to Amibroker.

If you have long list of symbols to get data from RTD, it may take more time as RTD server does not accept parallel connections and delivers data only in sequence. RTD server is part of NEST and not under our control.
You can compare this with simple excel with refresh rate of 1 second (or 3,5 secs) and write data to any txt file, you will find same results.
 

Similar threads