For questions about programming languages, implementation, and packages in quantitative finance. Note: question must be specific to quantitative finance and must necessitate knowledge of quantitative finance in order to be on topic.

learn more… | top users | synonyms (8)

0
votes
2answers
79 views

How does logging effect Quickfix performance?

I am using .net/c++ version of quickfix. How does logging effect Quickfix performance? If I disable logging to file, can it help to increase performance of quickfix? Thanks,
4
votes
0answers
162 views

Algorithmic Trading Model Calculation and Stale Data

I'd like ask everyone a more concurrency programming but definitely quant-finance related question. How do you deal with staleness of data in market hours as quote ticks are streaming and your model ...
3
votes
0answers
539 views

What is the best solution to use QuantLib within Excel?

Excel is likely the most widespread instrument across all not-only-quants desks; in addition, we have to keep in mind that Bloomberg and Reuters allow to easily import real time data in Excel, and ...
2
votes
0answers
148 views

Which method is implemented by Excel's YEARFRAC for ACT/ACT?

I know the algorithm used by Excel to calculate the YEARFRAC(startDate, endDate, basis) for basis=1. Excel calls the method "act/act". A Java re-implentation of Excel's algorithm can be found at ...
1
vote
0answers
26 views

Excel to Java for Interactive brokers

I have a working excel workbook connected to Interactive brokers DDE API. I am struggling to upgrade to a more robust environment like Java. I tried to change it to ActiveX for Excel but the ...
1
vote
0answers
82 views

Calculate display and plot relative spread using Sierra Chart

I'm trying Sierra Chart for trading Bitcoin. I would like to display relative spread for a given volume. spread_rel = 200.0 * (ask - bid) / (bid + ask) where ...
1
vote
0answers
134 views

Example code for “Gauge Invariance, Geometry and Arbitrage” paper

This paper describes an algorithm for computing arbitrage opportunites using a gauge connetion. Has anyone written a python program or C++ or C# program that shows how to follow the steps outlines in ...
1
vote
0answers
89 views

RCaller & RQuantlib error in java

I am receiving the following error: ...
1
vote
0answers
502 views

portfolio optimization with a loop

I am attempting to minimize the variance of a 3 stock portfolio using optimization within a loop. What I have done is calculated the stock returns and cov matrix from dates 1980-01-01 to 1989-12-31 ...
0
votes
0answers
25 views

Are there any Spanish language resources for getting quotes?

In English, there is MetaTrader from http://www.metaquotes.net. Is there any similar platform or program available in Spanish for backtracking and running your trading algorithms? How about ...
0
votes
0answers
84 views

Java Implied Volatility Solving

After using RQuantLib and RCaller from Java I am desiring a bit more speed on my implied volatility calculations (for anyone who has used this knows it is quite slow). I need to price a large number ...
0
votes
0answers
28 views

Compute the average efficient frontiers with estimated parameters from generated time series

My overall objective is to analyse the impact of error in mean-variance analysis from historical data. I am given the returns and standard deviation for the five assets under consideration, as well as ...
0
votes
0answers
82 views

Fitting Egarch Model

I am performing a monte-carlo simulation in MATLAB for the first order EGARCH model in which case I am simulating 100 paths of size 500 assuming Gaussian and Student's-t distributions for the ...
0
votes
0answers
181 views

IB with R which package?

I want to implement my models in R and trade according to them with my IB account. Now I am wondering, how I should solve this problem? Do I need to program with C an access ...
0
votes
0answers
100 views

Log returns and time

In calculating realized/historical vol for fx spot, my samples/fixings are currently every minute. I need to be able to calculate and plot historical/realized vol on demand from spot prices. ...
0
votes
0answers
267 views

R or Matlab code for Multi-Barrier-Options (3 or more underlyings)

I am looking for R or Matlab code examples of multi-barrier-options (or multi-barrier reverse convertibles) with at least 3 underlyings. Do you have such code or can you point me to a place where I ...
0
votes
0answers
471 views

What is the best alternative of Quantlib library

We need to build a Fixed Income Portfolio Risk Analytics solution. Somehow due to administrative reason we can't use Quantlib which is written in C++, even call it through SWIG via JNI. We have tried ...
0
votes
0answers
145 views

Looking for FpML best practices

We want start using FpML within our organisation; where message will be sent using FpML. What are best practices to do this ? If anyone who have used Tools as well as; i want to use FpML for ...
-1
votes
0answers
62 views

Diversified Risk Parity

Is there any algorithm or steps in computing the principal portfolio weights, I am bit confused into how to evaluate the maximization of diversified risk parity weights by Harald Lohre, Heiko Opfer ...