Tag Archives: RStudio

Is StatET for R on Eclipse better than RStudio

Is StatET for R on Eclipse better than RStudio

I would post RStudio logo but they don’t like that

Apparently this StatET has been around for a while

http://www.walware.de/goto/statet

Join my FREE newsletter to learn more about using R for automated trading

Buy all of our R courses

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

How to install R packages into RStudio

How to install R packages into RStudio

Need R scripts for head and shoulders technical analysis

http://www.r-bloggers.com/classical-technical-patterns/

https://raw.githubusercontent.com/systematicinvestor/SIT/master/R/rfinance2012.r

NOTE: i have abandoned using this R script in my R v 3.x due to the script is old which is no longer compatible. It is not worth pursuing to modify at this point.

Join my FREE newsletter to learn more about R for technical analysis in my automated trading

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

How to install R RStudio on Mac OS X

How to install R RStudio on Mac OS X

This should work as explained in my video with Brew

http://www.r-bloggers.com/installing-r-on-os-x-100-homebrew-edition/

Join my FREE newsletter to learn more about how I use R for new automated trading system

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

R cheatsheet from RStudio for everything

R cheatsheet from RStudio for everything

I never even knew these existed

Cheatsheets

Join my FREE newsletter to learn other R techniques 

 

Note from Rstudio:

The logo on the following page (https://quantlabs.net/blog/2015/11/r-cheatsheet-from-rstudio-for-everything/) is incorrect and does not comply with our terms here -https://www.rstudio.com/about/logos/ Please contact me with any questions.

 

Pretty sad take as any firm that closely guards their logo should be questioned about the spirits of the Internet. You try to promote their links and product indirectly, you get this notice. I say they are useless but you just add them to the list of bad spirited companies that no longer supports true open source. They are too corporate.

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

RStudio for R has webinars?

RStudio for R has webinars?

Who knew? This is one of the biggest reasons why I got into R a few years ago. I just wish the packages were more ‘professional’ otherwise Iwould not have reverted back to Matlab

BIG MUCHO Thanks to probably my biggest and most active supporter!

Webinars

Take the R path to learn some deadly R trading scripts! Get them NOW

Join my FREE newsletter to learn more about how I USED R

 

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Challenges of HFT with open source R with C or C++ vs Matlab for quant LIVE trading in production. No Visual Debugger in Rstudio?

Challenges of HFT with open source R with C or C++ vs Matlab for quant LIVE trading in production. No Visual Debugger in Rstudio?

Like this? Learn more through my FREE newsletter

I got this email asking for some points of view on R, Matlab, etc. This is in response to:

https://quantlabs.net/blog/2013/05/learn-the-most-popular-market-forecasting-technique-with-r-here/

My responses followed by:

 

Hi Bryan,

 

This is great. I really want to use R to develop strategies. I don’t really want to use Matlab for the two reasons:

1) I live in Hong Kong and despite me sending a bunch of emails about getting set up they won’t get back to me. Their automated response when I fill out an online request is that a sales person in my region will contact me soon. I’m guessing they don’t have a sales person in Asia.

 

–> They should respond!

2) The cost of Matlab is significant relative to R. If you set up successful strategies then Matlab pays for itself but until you have built, tested, and implemented these strategies it puts a dent in your trading capital.

–> I agree but Matlab is more for 7 digit capital operations. My latest quote for my goodies exceeded $125K so I know the pain. I can tell you though you will easily make it back if you are hiring coders to hand code your trading ideas. Also, Matlab does not call in sick, steal your algos, or just quit mid way. Matlab is pretty easy work with. It just depends how serious you are as well as how much starting capital you have. If you are limited, yes R is the best way. Maybe even Python?

I just completed the free quants and econometrics course in R from University Washington on Coursera.org. It shows you how to code a trend forecasting AR model in R. You might want to put it down as a suggested intro to your courseware too. link here https://www.coursera.org/course/compfinance

–> I have heard about these but you can also learn through Apple Itunes U. It is all the open source courses through Ivey universities. Some killer stuff.

UW also run a course in R walking you through:

Rcpp interface from R to C++

Rinside interface from C++ to R

https://depts.washington.edu/compfin/amath-557-financial-software-development-and-integration-c

 

–> Yes I have tried this but it slows down when connecting the R seesion in your C/C++ environment. To connect an R session may take more nano/milliseconds than you want. This is why I went back to Matlab to look for the best code generation process to embed natively into your trading system. This is why I have looked at Simulink which is very cool with the rapid model development environment. I will be providing further online courses will be provided in this area as well.  You can code generate with C/C++ or even for FPGA deployment from the same Simulink visual model. Imagine that?  You will see a HUGE difference in productivity.

But the UW AMATH-557 is not online. There is bunch of stuff online when you google it so can figure things out for yourself, like this one http://dirk.eddelbuettel.com/code/rcpp.html . You might want to add something like this to your courseware.

–> Again, I like RCPP but see my point above. Those milliseconds delay could be an issue when you try to bridge R and C/C++ into the same session. I even looked at R with Java and .NET C#. I personally don’t think you would use this for a LIVE production environment but I may be wrong. As said, I am more comfortable doing it through a code generation process from Matlab. As for RCPP, I would encourage anyone to comment to set the record straight. I would love to investigate RCPP if there has been an significant engineering update from 2012. I am also still waiting for my visual debugger in Rstudio which would make my life much easier. My life would be pretty we ll a party if that happened.

I’ve spoken to a bunch of HFT desks and they always come back with the two questions:

1) Do you have a HFT strategy that’s got a good track record for over 3 months and is scalable?

 

–> This is a very standard response

2) What qualifications in programming automated strategies have you got?

–> Haha. Read the Max Dama online book on this. He basically says, real programmers/quants don’t care about the programming language.

quantlabs.net/blog/2013/05/who-knew-max-dama-would-be-put-out-a-book-on-automated-trading-use-matlab-or-excel-as-well/

ALso, it seems all institutions use Matlab more than R but again, it depends on your goals.

 

If your answer to the first question is yes then they don’t need to ask the second question. Your proposed training course should help people be able to answer that question with a yes which is the main goal.

If we are not there yet then being able to answer the second question strongly would be a secondary goal. The success of Coursera is it gives you certificates of completion. Being able to produce certificates of completed training for your courses would be very useful for those quant researcher roles.

–> Hey I could issue certificates to with quizzes at the end. I don’t think mine would be recognized by industry. But I thought about that with CQF as well. While I was in NYC, it appears I was dead wrong so maybe Courera may help.

I think what you are doing is great. Keep up the good work.

–> Thanks

P.S. I missed your Feb 27 at 7PM Instructions on how to set up this trading platform. Did you record it?

–> Send out the exact link or topic as I will be able to give you an answer. It could be on my Youtube channel (youtube.com/quantlabs) or only for my Premium Members.

Like this? Learn more through my FREE newsletter

v

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Youtube video on Proper steps to integrate MongoDB NOSQL database with R on Ubuntu 12.0.4 Linux with RStudio

Youtube video on Proper steps to integrate MongoDB NOSQL database with R on Ubuntu 12.0.4 Linux with RStudio

Here are some current tricks:

install open jdk 6 not 7 as it will mess up the RJava install with R

If this happens, keep an eye out for a message that says something to the effect of checking your Linux Java environment. It will say you need to run as root, R CMD java… or something like that. That would be appear in your R console during the RJava package install. My problem came to Java 7 versus 6 which resolved it.

Create your MongoDB mydb data with:

http://www.mongodb.org/display/DOCS/Tutorial

http://pseudofish.com/blog/2011/05/25/analysis-of-data-with-mongodb-and-r/

Once installed, you should be able to do the following within your R shell or RStudio:

for RMongo:
> library(“RMongo”)
Loading required package: RUnit

> mongo <- mongoDbConnect(“mydb”)
> dbShowCollections(mongo)
[1] “system.indexes” “things”
> results <- dbGetQuery(mongo, “nutrient_metadatas”, “{}”, 0, 2)
> results <- dbGetQuery(mongo, “things”, “{}”, 0, 2)
> names(results)
[1] “X_id” “name”
> dbDisconnect(mongo)


NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

How to develop with R on an Apple Ipad Iphone or Android using Rstudio Server for Free

How to develop with R on an Apple Ipad Iphone or Android using Rstudio Server for Free

I show why RStudio enables you to develop R on a remote web server.



 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

So many thanks goes to powerful open source free software for CentOS Enterprise Linux, Java, R, RStudio, and Hadoop with Cloudera

So many thanks goes to powerful open source free software for CentOS Enterprise Linux, Java, R, RStudio, and Hadoop with Cloudera

Learn more her eon what I do

http://quantlabs.net/membership.htm

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Youtube video demo: How to install free open source CentOS Linux, R, and RStudio for quant HFT algo strategy development

Youtube video demo: How to install free open source CentOS Linux, R, and RStudio for quant HFT algo strategy development

How to install R on CentOS Linux:

http://stackoverflow.com/questions/9468164/problems-installing-r-on-linux-centos-6-2

su -c ‘rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-6.noarch.rpm’

su -c ‘yum install foo’
from http://fedoraproject.org/wiki/EPEL/FAQ

yum install R

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!