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)

2
votes
0answers
94 views

Option symbol conversion [closed]

Maybe more of a programming question, Is there a Ruby gem to facilitate conversion of an option symbol notation from one form to another? For example, one source provides TZA1220J18 but an API for ...
1
vote
4answers
1k 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 ...
1
vote
2answers
240 views

The future language of quant programming? [closed]

Im just about to begin the programming aspect of my education towards being a Quant. I know what languages are currently being used and how popular they are. However, I have several good friends ...
1
vote
2answers
218 views

For a interdays trading backtest system, should I put day open, close, high, low, volume separately into array?

I think there are two possible ways: 1. day open, close, high, low, volume separately into array, then I have 5 arrays to work with my calculation 2. Put all of these into one array or linklist to do ...
1
vote
1answer
681 views

LIBOR Rates available in CSV, XML etc

Is there a website that offers current LIBOR rates for all tenors for free in machine readable formats?
1
vote
1answer
66 views

What is an appropriate algorithm to use for tax loss harvesting?

I've been reading into how Betterment and Wealthfront have architected their tax loss harvesting algorithms, but they stop short of providing any real examples. Essentially, they both reduce to: ...
1
vote
3answers
213 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,
1
vote
1answer
68 views

How to attribute income that incurs a double liability in a P&L?

I'm a developer writing a system for a startup. Without giving away too much of the business model, here are the basics of how it works: The web site has two forms of "currency": tickets and ...
1
vote
2answers
261 views

What Matlab packages to I need as a Risk Analyst?

What toolbox are more suitable for a risk analyst. I found this: Optimization toolbox Global optimization toolbox Econometrics toolbox Financial toolbox Statistics toolbox And also I have as a ...
1
vote
1answer
227 views

Need to match my bond price calculation to that of Bloomberg, currently failing hard

I have a fixed-coupon bond with the following characteristics: ...
1
vote
4answers
41 views

Obtaining intra-day values of the EUR-USD exchange

I need for my project the values of the EUR-USD exchange (both intra-day and ticker). I've been playing around with the Yahoo's YQL API and at this moment I can obtain the current value of the ...
1
vote
1answer
163 views

Downloading Data from Interactive Brokers using IbPy

I am trying to download data from Interactive Broker using the code below and I am able to create the connection with the Trader Work Station (I get a "True" after ...
1
vote
1answer
67 views

Median value for geometric brownian motion simulation

I'm trying to simulate stock prices using GBM. I am using the following formula, and MATLAB function, to determine the stock prices: $\nu = \mu - \frac{\sigma^{2}}{2}$; $S = S0*\text{[ones(1,nsims); ...
1
vote
1answer
1k 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
104 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 ...
1
vote
4answers
2k views

C# Broker API for FX Trading

I am looking for a broker who provides a free trading API for FX. The goal is to develop at-home algorithms in C# (possibly Qt) to run on a fake portfolio, and then later on real money with ...
1
vote
1answer
842 views

FIX Heartbeat message not sent

I am using FIX4.3 and QuickFIX/n v1.0.0 for its implementation. I came across a situation where i had subscribed for Market Data and was successfully receiving Snapshot message then suddenly all ...
1
vote
2answers
1k views

Black Scholes and Monte Carlo implementations in Java [duplicate]

Possible Duplicate: Is there an all Java options-pricing library (preferably open source) besides jquantlib? Can anyone recommend a library with an implementation of Black Scholes and Monte ...
1
vote
1answer
19 views

Test .mql4 (meta trader 4 editor) when the fx market offline

I am coding some simple .mql4 program, you know, the fx market is offline on weekend, and the market will be not shown in Meta trader 4 platform. I wanna test my program in meta trader 4 on weekend. ...
1
vote
1answer
173 views

API for after and pre market data

Is there an API or APIs similar to the Yahoo! or Quandl APIs, that give the same access to pre and after market data? I know I can scrape the Nasdaq or Yahoo! Finance sites to get a pre/after market ...
1
vote
1answer
301 views

examples of c++ code with application to quant finance [closed]

I've some intermediate knowledge in C++. However, the knowledge is more of a theoretical nature and not applied to quant finance problems. I'm looking for good sources, code examples books blogs ...
1
vote
1answer
158 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
0answers
119 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
155 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
126 views

RCaller & RQuantlib error in java

I am receiving the following error: ...
1
vote
0answers
528 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
3answers
504 views

Why C is still in use especially in area of numerical optimization (instead of C++)? [closed]

Why C is still in use especially in area of numerical optimization (instead of C++) ? C and C++ aren't fully compatible so mayby you know some differances that make the difference ?
0
votes
3answers
1k views

Which library shall I use for 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. ...
0
votes
1answer
35 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 ...
0
votes
2answers
663 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
2answers
159 views

FpML class generation gives error

I am creating classes out of 5.1 FPML specification but I get following error. ...
0
votes
1answer
127 views

Bloomberg equity option volatility data

Using the Bloomberg open API, I am trying to program a C++ script that is able to download option volatility data from Bloomberg. I currently do not have access to Bloomberg, but in the coming week I ...
0
votes
5answers
386 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 ...
0
votes
1answer
98 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
1answer
60 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 ...
0
votes
1answer
320 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 ...
0
votes
1answer
304 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
1answer
8 views

ASX level 2 data via API

Is anybody aware of Java/C++/Python API's available for ASX stock market depth? I'm currently using IB which is ok but has a number of limitations / issues - the one I care most about is the limit of ...
0
votes
2answers
64 views

What is the current lowest possible latency for TCP communication?

I have two machines over a 10Gb network that need to communicate with each other through a TCP connection. In terms of technology, what is the current lowest latency possible for this to happen? What ...
0
votes
0answers
67 views

Java Implied Volatility Solving with Newtons Method

Hi I am currently working on implementing my newtons method to guess implied volatility and I have the same code as you do. However, my vol result goes to infinity and I have not figured out why my ...
0
votes
1answer
97 views

Using multiple regression to determine coefficient that feed into another multiple regression problem

Ok so it is a bit of a complicated problem so I hope I explain this well. I currently have a multiple regression formula where I input 3 items and the output is expected growth. Each of these input ...
0
votes
0answers
49 views

How to get get weekly returns from daily data

Good day I would like to get weekly returns data from daily data , I want to use the Wednesday-to-Wednesday approach – the returns (rt) are computed from the Wednesday closing prices Pt , i.e., rt = ...
0
votes
0answers
57 views

Fund Allocation Logic

I am writing a program which automatically calculates the trade allocations. Imagine we have a 3 funds, Fund A, B and C. They current asset allocations (so-far-percentages) are 10%, 20%, 70% ...
0
votes
1answer
54 views

Q regarding amortization of 500,000 loans

I am brand new to this forum. I asked this question on the main StackOverflow site and it was suggested that I ask here. My task is to find a method to quickly calculate the monthly cash flow on ...
0
votes
0answers
23 views

Does anybody know how to use jquantlib with eclipse?

I'm currently beginning to work on my masters project in QF and I wanted to use jquantlib for my work. I've searched the internet quite a bit but couldn't find good understandable info on how to work ...
0
votes
0answers
33 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
0answers
104 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
0answers
69 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 ...
0
votes
0answers
31 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
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 ...