Hi,
My basic question is: How can I go from R to trading?
Let's assume I have a volatility model. I.e. I am analyzing the volatiliy of stock returns. I am able to forecast the volatility of tomorrow (please do not focus on wheter my model/theory makes sense or not). Now I want to execute trades from R, depending on my results I calculated in R.
My question is how to do that?
E.g. in Interactive brokers there is the TWS system and the TWS Api. So if I would focus on Java, does this mean, I have to use e.g. netbeans, call the R code in netbeans, then code in netbeans command that execute the trade and send this trough TWS to my IB account?
Or is there an easier solution, e.g. if I got it right IBrokers package - do I need a TWS Api there? Or do I just have to have an IB account, then run my R command and R is able to execute the trades and I can see it in my IB account? Do I need an IB Api in this case? Or is it always necessary?