# All Questions

Tagged with
26 questions
196 views

### Is R suited for a Quantitative Finance executable application

I wonder if a R-Shiny application works well for a production environment or the only option is C++. I make this question taking in account that R and C++ have a widely set of quant libraries that ...
82 views

### European Call Option Modelling under 2 factor Hull White interest rates

I have modelled the yield curve through the two factor Hull White Model. Now I want to implement in Matlab the price development of a ATM-Call-Option (European). Has someone an idea how to combine ...
57 views

Hi I want to simulate in Matlab the following stochastic integral: $x(t) = x(s) e^{-a(t-s)} + \sigma \int_s^t e^{-a(t-u)} dW_1(u)$ with $E[x(t) \vert F_s] = x(s) e^{-a(t-s)}$ $Var[x(t) \vert ... 1answer 231 views ### Modelling interest rate Hi I want to model two stochastic integrals in Matlab, which is given by$ x(t) = x(s) e^{-a(t-s)} + \sigma \int_s^t e^{-a(t-u)} dW_1(u)y(t) = y(s) e^{-b(t-s)} + \eta \int_s^t e^{-b(t-u)} dW_2(...
1k views

so I would download a bunch of intraday data, for a bunch of securities, but we keep hitting our monthly cap limit. We don't want to upgrade to a more expensive package as this is simply a research ...
188 views

### Trying to replicate the Beta of Yahoo in R but am getting an answer that is way off

Yahoo calculates the Beta by using 3 years of monthly returns and using the S&P 500 as a market proxy but I cannot seem to replicate this or even get close using R. I downloaded the data from ...
376 views

### Types of programming languages used for optimization in finance

I'm currently taking graduate finance courses, and wish to pursue a career in finance - in particular $\textbf{optimization in finance}$. To date, I've only been taught the GAMS programming language (...
169 views

### Projecting a Thiele differential equation with Black Scholes returns

I am trying to solve the equation $\frac{d}{dt}V(t)=r(t)V(t)+\pi-\mu(x+t)(b_d-V(t))$ numerically using the R function 'ode'. This is a Thiele differential equation for a life insurance reserve with ...
32 views

### Is there a reliable International Currency Exchange rates provider in JSON format

I am looking for a currency exchange rate provider (preferrably) JSON format , that is free/open and also reliable. Anybody here have any experiences working with some solutions like this? Cheers!!
379 views

### PortfolioAnalytics R package - Error with the function “create.EfficientFrontier”

Issue The function create.EfficientFrontier from the PortfolioAnalytics package is outputting an error message that reads: <...
76 views

### Firm Stock market

Let's say that I live in my own world, with 20 inhabitants. I own a firm called mc Donald's. ( my people purchase food there of course). Each income to mc Donald's gets into the firm bank. McDonald'...
105 views

### How do I loop through all the stocks and find the 10 stocks with the highest Sharpe ratio using R program?

I am recently doing a project, which I need to apply Sharpe ratio to all the stocks. How do I loop through all the stocks and find the 10 stocks with the highest Sharpe ratio using R program? Thanks a ...
900 views

### Test statistical significance of a trading strategy

I have created a trading strategy which operate every single day on the DAX 30, for the last 1700 trading sessions (some years). I have the daily returns of my strategy and also the daily returns of ...
120 views

### Programming language to compliment Finance degree [closed]

I've read a few questions regarding this, but want some new (more recent) opinions. I'm in the process of pursuing a degree in Finance, complimented with some Math and a sprinkle of Computer Systems. ...
245 views

### L1 norm regularization of Markowitz portfolio in matlab

Markowitz portfolio with L1 norm regularization added L1 norm regularization based on the original model. The constraint equation is as follows: The following code is the original Markowitz Mean-...
623 views

### Is it possible to download stock-data countrywise with quantmod package for R?

Is it possible to download stock-data countrywise with quantmod package for R ? Hi, I'm wondering if it's possible to download equities countrywise. Let's say i want all data from the Finnish market....
115 views

### Generating financial data

I am trying to generate monthly stock data using a one-factor model: $$R_{a,t} = \alpha + BR_{b,t}+\epsilon_{t}$$ The description says: $R_{a,t}$ is the excess asset returns vector, $\alpha$ is the ...
869 views

### Portfolio Management in R

I’ve been looking around for a R-package that will allow me to track my stock portfolio - basically I would like to enter stocks that I own, track the trades I make, calculate my open position & ...
383 views

### Yahoo finance, interactive chart and historical prices are different

I am very new to the stocks. I checked the TNTE.AS stock on Yahoo Finance website. Here it provides "Interactive Chart" and "Historical Prices". But I found they are showing different values. For ...
3k views

### Change periodicity on Rblpapi

So Dirk Eddelbuettel, Whit Armstrong, and John Laing released Rblpapi to CRAN recently, and it is awesome. I'm having some difficulty understanding how the overrides work though, hopefully someone can ...
191 views

### Volatility updating rule using r

I'm trying to program a volatility updating rule using iteration. I start with the well know Heston-Nandi model where the returns dynamics are : with is iid standard normal randome variable, where ...
267 views

### how to extract moments of GB from moment generating function?

I'm searching for the moments of geometric brownian motion using the gmm optimization program. the aim is to make the process y(t) of returns follows a normal distribution Are there any packages in ...
1k views

### How to simulate stock prices with stochastic time change subordinated arithmetic Brownian Motion?

the idea is to simulate price returns thus to be normally distributed i 'am trying to use subordinated arithmetic brownian motion subordinated to time activity (volume) stock prices are following GBM ...
1k views

### Philips-Ouliaris test for cointegration

I'm trying to implement cointegration tests using the R urca package. I've figured out the Johansen test (ca.jo), but I'm having trouble with the Philips-Ouliaris test (ca.po). I have two questions: ...