Tagged Questions

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 (9)

0
votes
0answers
11 views

Web Based Market Profile Code

I am looking for someone who knows of or has access to web based charting code using Market Profile. Does this exist out there? I would prefer the source code so I can make changes to it. Any ...
0
votes
1answer
33 views

General elements of a MFE helpful for going into HFT? [closed]

I know that Financial Engineering Masters programmes can vary, sometimes significantly, in terms of content covered, but I was wondering what topics generally covered in these programmes would be ...
0
votes
0answers
25 views

Where to find agent-based software for the stock-market?

I am looking for game theory agent-based software to run simulations of the stock market. Ideally it would be a software where i could manipulate the variables and possible the underlying assumtions ...
2
votes
2answers
101 views

C# - Using Black Scholes Newton returns NaN occasionally

First caveat: I'm a programmer doing this for a client, and my knowledge of options probably has holes in it. So be a little forgiving here. =) The Issue: When I run Black Scholes Newton against ...
4
votes
3answers
115 views

What is an efficient method to find implied volatility?

I have a code that finds the implied volatility using the Newton-Raphson method. I set the number of trial to 1000 but sometimes it fails to converge and doesn't find the result. Is there a better ...
6
votes
1answer
174 views

What is a good Computer Algebra System for financial engineering?

I would like to know if there exists some computer algebra systems adapted to calculate pricing based on particular models, i.e. pricing YoY Inflation Swap under Jarrow Yildirim Model. I know that ...
0
votes
0answers
56 views

Book chart plotting library identification

can you help me identify how those charts are constructed? To your knowledge, is it generated from Python, R, Java, C++? What packages can you identify? I've tried the ggplot2 library in R and I have ...
0
votes
3answers
168 views

API-based equity screeners?

I know there are APIs from different brokers that allows you to trade and also obtain information about specific companies, but I wonder if there are equity/asset screeners that are API-based and can ...
6
votes
2answers
319 views

How do Return.portfolio and Return.rebalancing work in Performance Analytics in R?

I have a question about the function Return.portfolio/Return.rebalancing from the Performance Analytics package in R. I take ...
3
votes
3answers
125 views

Convergence of GBM mean after simulation?

As a follow up of my previous question, I am now simulating the GBM step by step for $n$ steps. I am using the following implementation for the simulation: $$S_{t+1} = S_t \exp \left[ ...
3
votes
1answer
122 views

What is wrong in this GBM simulation?

I am trying to generate a few samples of GBM using the following very simple MATLAB code: ...
0
votes
1answer
79 views

Choosing broker to run with Zipline

Which brokers offer Python integration/API? Which brokers offer R integration? I'm starting on trading, and I want to learn about algorithm trading. So I would like to know what brokers offers these ...
0
votes
2answers
359 views

Time series analysis in Java

I'm looking for a library to do some time series analysis in Java but I can't find anything suitable. I've found plenty of libraries such as Math3 of JSAT but there's much I can you for my problem. As ...
0
votes
1answer
50 views

Contribute to Finance related projects [closed]

I am currently a student and in the future would like to work as a software developer for a financial institution such as Bloomberg, Factset etc. I was looking to contribute to some open source or ...
1
vote
2answers
210 views

How to calculate the volatility matrix with multiple stocks

calculating the volatility for a single stock is straightforward. However, I'm not sure whether my approach for calculating the volatility matrix for multiple stocks is correct: I assume a log-normal ...
0
votes
0answers
65 views

How to display stock prediction results?

I'm not sure if this is a question for "Quantitative Finance" or "Personal Finance & Money" so forgive me if this one is irrelevant for this site. The Situation So I wrote a program (in vb.net ...
5
votes
1answer
257 views

QuantLib: Black / BSM processes and pricing via volatility surface. Different results?

I start this question with a couple of C++ functions that will be useful to show some results. So start your Visual Studio C++ Express or Ceemple or whatever you want and copy & paste this: ...
1
vote
1answer
207 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 ...
2
votes
2answers
137 views

What is the Most Efficient Way to Calculate the Internal Rate of Return IRR?

I have built a program that prices financial assets and it does this in part by calculating the IRR. The problem is that it does not run as quickly as I would like it to. I currently use the ...
2
votes
2answers
135 views

IP API Active X for Excel refresh rate

I have been working on the EXCEL DDE sample worksheet and works fine and now I would to upgrade to ActiveX instead of DDE as I heard it is more robust but I found the refresh rate of ActiveX is even ...
1
vote
1answer
102 views

Plot Evolution of portfolio weights over time in R [closed]

Is there any function for plotting the evolution of portfolio weights over time in r?. I have a matrix of portfolio weights from an equal weighting strategy at rebalancing times and want to plot ...
1
vote
1answer
457 views

robust open source Kalman filter library in C++

I would like to know if anyone has experience with a good open source kalman filter implementation in C++ that I could use. I require an implementation that supports computation of likelihood similar ...
1
vote
3answers
416 views

Is node.js being used in systematic trading software?

I have a project where I would like to track some tick data and create some indicators to follow it. I am thinking of using Node.js for this project, but I would like to know from those in industry if ...
0
votes
0answers
27 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 ...
1
vote
3answers
73 views

Obtaining Expense Ratio Data

I have a list of tickers (~11,500) in a .txt/.csv file and accompanying fund data from yahoo finance. I'm wondering if there is a reasonably easy/accessible way to use this list to obtain expense ...
0
votes
1answer
30 views

GNP/GDP and modelling [closed]

Is GNP a continuous, static or a dynamic model ? What about GDP ? What I do know is that it has yearly discrete values. However, when it is modeled, it becomes a continuous graph. So what exactly is ...
2
votes
0answers
79 views

Which are the popular free/open-source charting controls?

Recently i've tried SciChart and VisiBlox - beautiful charting tools. Is there any free or open-source tools for visualizing charts on C#? Thank you for answers.
3
votes
2answers
301 views

Trend estimation techniques

What is the best way (most common) to discover if a stock is trending or not? (Despite drawing a line). A hurst exponent? A linear regression maybe?
0
votes
2answers
319 views

Forex brokers with free API compatible with Node.js

I have a Forex trading signal generator written in Node.js and now I am looking for a Forex broker with a free Node.js compatible API. The requirements are simple: be able to send new trade orders ...
0
votes
0answers
69 views

Where can I find ADF library in c#

Where could I find an ADF library or source code in c# for cointegration test?
4
votes
2answers
419 views

Looking for C# library that provides/contains performance analytics

I am looking for a C# .Net library that provides trade performance analytics similar to R-PerformanceAnalytics. Basic return statistics, draw-downs, risk-adjusted returns, risk (variations), ...
2
votes
1answer
258 views

What features does q /KDB provide for HFT use?

It appears q/KDB is being using for Time series analysis for HFT. What are some of the advantages of using ...
0
votes
3answers
144 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,
0
votes
0answers
205 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
27 views

Developing an Android App. Need free volatility data [duplicate]

I'm currently developing an android app that requires volatility data. Any idea where can I get it for free? I tried Yahoo Finance API and they don't seem to have volatility data. Thanks
7
votes
3answers
331 views

What quant-related functionalities is R lacking compared to commercial software like Mathematica and Matlab?

R that originated as a purely statistical tool has meanwhile blossomed into a comprehensive workbench for different tasks. I am familiar with Mathematica and don't like how it forces a license on ...
4
votes
0answers
191 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 ...
0
votes
0answers
40 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
110 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 ...
3
votes
2answers
793 views

Free and tested optimization, statistical and visualization packages for C#

I am about to implement a variation of the LIBOR-Market-Model (complete with Least-Square-Montecarlo, calibration, pricing etc.) and decided to implement it in C#. The implementation will involve ...
4
votes
1answer
333 views

Is there any open-source library, implementing “exchange” to be used for algorithms running on the same computer?

Question: Is there any open-source project/library, which can act as a "local exchange" for agents (algorithms), running on the same computer? Clarification: by "local exchange" I mean, that the ...
1
vote
0answers
96 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 ...
0
votes
0answers
222 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
120 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
44 views

Java limitbook implementation? [duplicate]

I am looking to create my own front-end. What is the best data structure/java swing object to represent a limit order book? currently I am using two JTables and loading best bid and qty data from a ...
3
votes
1answer
298 views

How to manage evaluation date changes in QuantLib while using ImpliedTermStructure Class

I will not attach the whole code 'cause it would be just a huge waste of space and it would be not useful for this question's purpose. What I am going to attach here is a snippet code and its output, ...
3
votes
1answer
1k views

open-source implementation of orderbook from FAST?

I'm looking for c/c++ implementation of OrderBook. I need implementation to reconstruct market data from FAST. I don't need to do "matching" because it already did by exchange, I only need to ...
4
votes
4answers
912 views

Library for interactive financial charts

For my recent project I am looking to build a software capable of visualizing financial charts in a dynamically and interactive matter. The workflow is as follows: I gather data from my data ...
0
votes
0answers
293 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 ...
3
votes
1answer
451 views

How to sum interest rate curves in QuantLib

C++ code taken from Bonds.cpp and slightly amended: ...