I am contemplating buying Tradestation, and I wonder if and how this can integrate with R . . . . Any insights would be appreciated. Thanks, Neil.
tradestation & R
4 messages · Neil Eastep, Dirk Eddelbuettel, Guy Yollin
In aswer to my own question, I think my easiest route is to read and use "Handling R objects in C", and create a dll that can (now that I notice) be accessed from tradestation. Neil.
On 8/4/06, Neil Eastep <neileastep at gmail.com> wrote:
I am contemplating buying Tradestation, and I wonder if and how this can integrate with R . . . . Any insights would be appreciated. Thanks, Neil.
On 5 August 2006 at 00:10, Neil Eastep wrote:
| In aswer to my own question, I think my easiest route is to read and use | "Handling R objects in C", and create a dll that can (now that I | notice) be accessed from tradestation. Neil. As Tradestation imposes Windows, also consider the two (D)Com servers. Otherwise, I have had luck with C/C++ interfaces to R but I haven't tried the embedding route you are heading to. For C++, I can *really* recommend Dominick's RcppTemplate. Another option is Simon's Rserve -- that avoids all linking issues as everything is done over tcp/ip, either on the same box or across the network. Keep us (or maybe r-devel) posted ... Good luck, Dirk |
| On 8/4/06, Neil Eastep <neileastep at gmail.com> wrote:
| > I am contemplating buying Tradestation, and I wonder if and how this | > can integrate with R . . . . Any insights would be appreciated. | > Thanks, Neil. | > | | _______________________________________________ | R-SIG-Finance at stat.math.ethz.ch mailing list | https://stat.ethz.ch/mailman/listinfo/r-sig-finance
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
Hi Niel, I've used both Tradestation and R for a while now and tried to connect them up a few years back. The connection that I used was via the DCOM module for R and Tradestation's ELkit DLL interface. Basically, your tradestation indicator or strategy can call a dll that you create; the dll then also uses the COM connector interface to talk with R. I did a few working examples that passed TS data through the interface to R, R created some type of forecasting model e.g. loess regression and returned results through the dll and back to TS where this indicator was the basis for a trading signal. It work but was terminally slow and I was not compelled at that time to try to speed it up. Perhaps there are better alternatives today. I still have tradestation but now consider there greatest value to be their on-demand historic database of intraday data for virtually all stocks and futures (if you subscribe to the real-time data feed for the associated exchange). I've also used interactivebrokers and they support a number of interfaces for real-time data and order execution; plus, there is quite a nice little collection of 3rd party contributed software that exploits these interfaces in various ways. If I was trying to build a platform for trading system backtesting and automated order entry with core modeling done in R, I'm not sure that I'd hitch R to tradestation. I'd probably look to connect up with interactivebrokers for the order execution and find a clean way to get updated historic intraday data; of course if you don't need intraday data you can just use yahoo. If you can't find a source of continually updated intraday data then tradestation may be the answer; the on-demand access to years of intraday data for any symbol you want is quite nice. Hope this helps. -- Guy -----Original Message----- From: r-sig-finance-bounces at stat.math.ethz.ch [mailto:r-sig-finance-bounces at stat.math.ethz.ch] On Behalf Of Neil Eastep Sent: Friday, August 04, 2006 5:56 AM To: r-sig-finance at stat.math.ethz.ch Subject: [R-SIG-Finance] tradestation & R I am contemplating buying Tradestation, and I wonder if and how this can integrate with R . . . . Any insights would be appreciated. Thanks, Neil. _______________________________________________ R-SIG-Finance at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance