rtd

Excel RTD (Real Time Data) client other than Excel?

℡╲_俬逩灬. 提交于 2019-12-09 00:16:19
问题 I have been looking all over, and couldn't find any example for an RTD CLIENT (many RTD server samples, though). My goal is to 'pull' data from an RTD server into my application for algo-trading purposes. If possible, without using C# / .Net, as I am looking for a lightweight, deploy-able solution. Can you give me any tips? 回答1: Here is a C# client I built as a test harness for Excel RTD servers (both in-process DLL and out-of-process EXE): using System; using System.Reflection; using System

Exception when calling RTD server from Excel

半世苍凉 提交于 2019-12-08 08:54:03
问题 I wrote a VSTO Excel addin using Visual Studio 2010 and after having managed to work around most of the obstacles Microsoft throws into the path of the righteous developer, I finally have to admit defeat. My project contains a Ribbon with some controls, a custom task pane that allows users to search a database via a RESTful interface and a RTD server that lets them put this data in their worksheets. So far, so ... well, painful, I guess: After a lot of struggle with Interop, ComVisibility and

Exception when calling RTD server from Excel

限于喜欢 提交于 2019-12-08 04:34:31
I wrote a VSTO Excel addin using Visual Studio 2010 and after having managed to work around most of the obstacles Microsoft throws into the path of the righteous developer, I finally have to admit defeat. My project contains a Ribbon with some controls, a custom task pane that allows users to search a database via a RESTful interface and a RTD server that lets them put this data in their worksheets. So far, so ... well, painful, I guess: After a lot of struggle with Interop, ComVisibility and AppDomains (what a great idea!), my current status is as follows. In the worksheets, I call a wrapper

.NET RTD/COM Excel Interop errors on one user's machine?

允我心安 提交于 2019-12-07 00:19:32
We built a .NET COM/Excel RTD Server (.NET Assembly) which has been in use for many years, on a variety of machines (i.e. we know it works, and our standard method for installing it works). We have a user who installed this RTD component on a different machine, and is having problems getting it to function smoothly. I believe the problem relates to the Interop.Microsoft.Office.Interop.Excel.dll somehow being either incompatible with this machine, or else improperly registered. Here are specific details: Although RTD links are working to some extent, we see this error frequently logged by our

R6025 pure virtual function call

微笑、不失礼 提交于 2019-12-06 15:48:03
问题 I am getting random R6025 - pure virtual function call errors at random times when using this custom c# RTD client for ThinkOrSwim. How can I a) debug it to find out what's going wrong, and b) fix it? When windows pops up the message box saying there is an error, the code keeps running in the backgroud and no exceptions are thrown. But when I click OK on the message box, windows shuts the application down. Here is a snippet of the code requesting RTD data: var tosClassId = new Guid(Registry

R6025 pure virtual function call

家住魔仙堡 提交于 2019-12-04 21:03:32
I am getting random R6025 - pure virtual function call errors at random times when using this custom c# RTD client for ThinkOrSwim. How can I a) debug it to find out what's going wrong, and b) fix it? When windows pops up the message box saying there is an error, the code keeps running in the backgroud and no exceptions are thrown. But when I click OK on the message box, windows shuts the application down. Here is a snippet of the code requesting RTD data: var tosClassId = new Guid(Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Tos.RTD\CLSID", "", null).ToString()); var rtdClient =

How do I create an Excel automation add-in in C# that wraps an RTD function?

拟墨画扇 提交于 2019-12-03 20:38:37
I have a working RtdServer-based automation add-in: How do I create a real-time Excel automation add-in in C# using RtdServer? . Creating a VBA wrapper is trivial: Function RtdWrapper(start) RtdWrapper = Excel.Application.WorksheetFunction.RTD("StackOverflow.RtdServer.ProgId", "", start) End Function This works. I have attempted to create a C# wrapper as follows: [ClassInterface(ClassInterfaceType.AutoDual)] public class RtdWrappers { private readonly Microsoft.Office.Interop.Excel.Application _application = new Application(); public object Countdown(object startingCount) { var start = Convert

Excel RTD (Real Time Data) client other than Excel?

萝らか妹 提交于 2019-11-30 15:51:06
I have been looking all over, and couldn't find any example for an RTD CLIENT (many RTD server samples, though). My goal is to 'pull' data from an RTD server into my application for algo-trading purposes. If possible, without using C# / .Net, as I am looking for a lightweight, deploy-able solution. Can you give me any tips? Shep Here is a C# client I built as a test harness for Excel RTD servers (both in-process DLL and out-of-process EXE): using System; using System.Reflection; using System.Threading; namespace MyRTD { class Program { // ProgIDs for COM classes. private const String RTDProgID

How do I create a real-time Excel automation add-in in C# using RtdServer?

你。 提交于 2019-11-26 21:35:46
I was tasked with writing a real-time Excel automation add-in in C# using RtdServer for work. I relied heavily on the knowledge that I came across in Stack Overflow. I have decide to express my thanks by writing up a how to document that ties together all that I have learned. Kenny Kerr's Excel RTD Servers: Minimal C# Implementation article helped me get started. I found comments by Mike Rosenblum and Govert especially helpful. (As an alternative to the approach described below you should consider using Excel-DNA . Excel-DNA allows you to build a registration-free RTD server. COM registration

How do I create a real-time Excel automation add-in in C# using RtdServer?

痴心易碎 提交于 2019-11-26 07:59:16
问题 I was tasked with writing a real-time Excel automation add-in in C# using RtdServer for work. I relied heavily on the knowledge that I came across in Stack Overflow. I have decide to express my thanks by writing up a how to document that ties together all that I have learned. Kenny Kerr\'s Excel RTD Servers: Minimal C# Implementation article helped me get started. I found comments by Mike Rosenblum and Govert especially helpful. 回答1: (As an alternative to the approach described below you