As of April 2014, the 32-bit version of kdb+ is now free to try.
This free version may not be used in production systems.
The only technical limitation vs. the 64-bit version is that you can only address up to 4GB of memory per process.
At discretelogics we just released a file format to store time series in flat files called "TeaFiles". In addition to raw data they can store the binary item layout and a description of the contents.
C#, C++, Python APIs are available open source, licensed under the GPL, see
Using memory mapping, read performance reaches that ...
I help organize the F#unctional Londoners Meetup group. A good number of our 450+ members work in London's finance sector. Over the past 2 years we have hosted a number of talks related to F# in trading:
Simon Cousins on F# in the Enterprise - F# at E.ON Energy Trading
Daniel Egloff - F# on the GPU with Alea.CUDA - developed for derivative pricing
I took a quick look at Matlab's Financial Toolbox and attempted to map the features to corresponding Python packages –
For asset allocation, portfolio optimization, and risk analytics:
Standard packages such as scipy provide a large number of optimizers that should suit your needs. There are also pre-canned packages that do portfolio optimizations more ...
I don't like KDB+/q.
For KDB+ experts, I am not picking a fight.
The following is just my own understanding on KDB+ and TimeSeries Database.
You're warmly welcome to correct me if anything wrong in your eyes :).
First of all, during my near one year's KDB+/q development experience, I never ever find a paper based benchmark result indicating KDB+/q ...
Of course it is fast enough. But what is fast enough? I know guys who trade off Excel sheets and they make millions, but those guys are clearly not active in high frequency space. So, it entirely depends on your trading frequency and average holding period. I also know of shops that run live trading systems by calling R functions, so, obviously Matlab ...
People use C++ because it offers a balance between performance and convenience. It is true that you can get Java to be (almost) as fast as C++, but you need to put a lot of effort into it. On the other hand, an average-quality C++ code will be much faster than average-quality Java code. I know this from personal experience.
The only way to find out is to try it!
It shouldn't take very long to write some simple code to simulate the computations you plan to do, and run it in a loop.
With current versions of Visual Basic (VB.net), performance should be comparable to Java in most cases because the basic technology (compiling to intermediate code and then running a just-in-time ...
KDB is useful for two reasons:
- Storage of data; and easy access to the data (i.e. querying ticks..etc)
- Rich query language that supports many Quant functions
however; what KDB does not do well; is the quant query language.
I have evaluated KDB, Matlab, and R. So far R is the winner.
I have not found any fast solution for storing and retrieving data; ...
A popular open-source option for the numerics in .NET is Math.NET (https://github.com/mathnet/mathnet-numerics). It has both managed implementations and allows you to use the optimized MKL native libraries. This use of .NET as a front-end to an optimized native library is quite common.
Meta.Numerics (http://www.meta-numerics.net) is an alternative open-...
We use Node for reporting but not as part of our main signal generating trading system.
To be honest the answer will almost certainly be yes for every common programming technology as it just takes one person to use it somewhere to make the answer yes.
Just look at OCaml, before Jane street, most techno logiest on the street had never heard of it and now ...
People get this problem wrong because they always end up discussing the theoretical advantages of these languages rather than the practical uses of these languages.
Haskell is elegant and has many of the theoretical advantages (language conciseness, orthogonality, parametric polymorphism, ADTs, higher-order functions, smart compiler)...
All .NET languages are perfectly able to compete with the speed of C and even FORTRAN. It all depends on if they are used the correct way.
1) Both Java and .NET have considerable longer startup times than most native app. Therefore, you will have to have the application running and not starting it over and over on request.
2) Memory management is crucial ...
You don't just simply grab some random open source order book implementation and expect it to work. Every market is different. For example, markets have different rules for how you should handle priority in the order book (some are price-time, some are price-size-time, etc). Grabbing Joe Blow's code and expecting it to just work is only going to lead to pain ...
Yes, there are.
For pure technical indicator libraries I would first check out:
Its open source and they provide APIs for both C# and Java among others.
Let me know if you look for commercial ones but this one is definitely the most comprehensive in terms of open source code.
I used SciChart and was happy with it. This is extremely rich charting library
($500 per licence; \$1000 with source code).
A premium UI library. I haven't tried Infragistics charts particularly, but I'm sure they are as much perfect as their other controls (grids, ribbons etc).
Extended WPF Toolkit
SciChart vs ...
The optimization possibilities offered by C++ templates can make code potentially very fast; faster than C, and faster than Java could ever hope to be. (A C programmer will typically use a function pointer and a compiler cannot inline that; a C++ functor can and will be inlined.)
I know C# has templates that look like C++'s but I cannot personally comment ...
Not all will agree that "the maintenance cost of the program [is] lower than the C++ one." For just one thing, when we use C# or similar, we have to wrestle with the C# "framework," which aims, but often fails, to deliver a "richer," "more powerful" development environment. But "richer, more powerful" is in the eye of the language designer or design ...
Have a look at Kona which is a FOSS project trying to be compatible. Also Tom Szczesny has done some work on its predecessors namely A. I hope this helps.
Also if you are not looking for a perfect substitute you can have a look at other Time Series Databases like InfluxDB, Java Chronicles, OpenTSDB, KairosDB which are all Open Source. There are commercial ...
We've created a roundup of the top column-oriented database systems:
This includes kdb+ and some open source alternatives.
Open: InfluxDB, Java Chronicles, OpenTSDB, KairosDB
Closed: oneTick, McObject, Teradata Database, vectorwise, sybase, vertica
We have done some initial work at ...
You can have a look at rgarch. It's quite versatile. From what I remember, you have to get it explicitly from R-Forge, as it's not available from CRAN.
See the rgarch website for more details.
Last time I checked, usage was something like this:
spec.gjrGARCH = ugarchspec(variance.model=list(model="gjrGARCH", garchOrder=c(1,1)), mean.model=list(armaOrder=c(...
What you are looking for is generally called "machine-readable news". Here are the ones I know about off hand:
Dow Jones Elementized News Feed
Thompson Reuters News Feed Direct
Bloomberg Event-Driven Trading Feed
NASDAQ OMX Event-Driven Analytics
Good luck getting reliable latency figures from any of those vendors though.
It's because of the settlement days you passed when you initialized the flat volatility curve. You're creating the spot, forward and flat volatilities as:
new BlackVarianceSurface(todaysDate, calendar,
The n=100 specifies the number of periods (rolling) for the vol estimate - see the original link https://web.archive.org/web/20100326215050/http://www.sitmo.com/eq/409 where the n is referred to as Number of historical prices used for the volatility estimate
An example in R:
nrow(AAPL) # we have 2384 price ...
You can grab the compressed version too:
This will state what file you want.
For example, I want AOL's 10-K that was filed in the first quarter of 2012. So I download
After decompressing, I see that AOL's 10-K is available at
Nanex NxCore will give you a full market view of the options market. The feed is full market, meaning you won't subscribe to specific options or stocks, so it may or may not fit your "prioritization" requirement. You can subscribe to events for specific symbols, however, once the data has reached your local NxCore application.
The data is not sampled so you ...