NexusFi: Find Your Edge


Home Menu

 





Time Series database for tick and trade data.


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one gregid with 9 posts (10 thanks)
    2. looks_two Jasonnator with 7 posts (8 thanks)
    3. looks_3 stocksharp with 4 posts (4 thanks)
    4. looks_4 ClutchAce with 3 posts (0 thanks)
      Best Posters
    1. looks_one artemiso with 1.7 thanks per post
    2. looks_two gregid with 1.1 thanks per post
    3. looks_3 Jasonnator with 1.1 thanks per post
    4. looks_4 stocksharp with 1 thanks per post
    1. trending_up 20,924 views
    2. thumb_up 35 thanks given
    3. group 25 followers
    1. forum 40 posts
    2. attach_file 2 attachments




 
 

Time Series database for tick and trade data.

 
 
gregid's Avatar
 gregid 
Wrocław, Poland
 
Experience: Intermediate
Platform: NinjaTrader, Racket
Trading: Ockham's razor
Posts: 650 since Aug 2009
Thanks Given: 320
Thanks Received: 623

Majority of custom solutions for storing tick and trade data utilize standard RDBMS (MS SQL Server, MySQL, etc.) which I have done myself in the past. I believe this is mostly due to familiarity with relational dbs and maturity of the solutions.

Still I keep wondering about the solutions more suitable to the task and started exploring Time Series databases. I have no previous experience with any, and was wondering what are your views on this approach and if anyone here has any experience with them and/or recommendations.

Some open source Time Series databases I am aware of:
Druid | Interactive Analytics at Scale
InfluxDB - Open Source Time Series, Metrics, and Analytics Database
Blueflood
OpenTSDB - A Distributed, Scalable Monitoring System
https://github.com/kairosdb/kairosdb
https://github.com/OpenNMS/newts
https://code.google.com/archive/p/tsdb
https://github.com/gar1t/tsdb
https://github.com/dustin/seriesly
https://github.com/ezhulenev/marketdb
https://github.com/graphite-project/ceres
https://github.com/prometheus/prometheus
https://github.com/akumuli/Akumuli
https://github.com/despegar/khronus

Started this thread
Thanked by:

Can you help answer these questions
from other members on NexusFi?
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
 
 donedge 
Rio de Janeiro / Barcelona
 
Experience: Advanced
Platform: NinjaTrader & Excel
Broker: IB
Trading: EWZ
Posts: 125 since Apr 2013
Thanks Given: 89
Thanks Received: 96



gregid View Post
Majority of custom solutions for storing tick and trade data utilize standard RDBMS (MS SQL Server, MySQL, etc.) which I have done myself in the past. I believe this is mostly due to familiarity with relational dbs and maturity of the solutions.

Still I keep wondering about the solutions more suitable to the task and started exploring Time Series databases. I have no previous experience with any, and was wondering what are your views on this approach and if anyone here has any experience with them and/or recommendations.

Some open source Time Series databases I am aware of:
Druid | Interactive Analytics at Scale
InfluxDB - Open Source Time Series, Metrics, and Analytics Database
Blueflood
OpenTSDB - A Distributed, Scalable Monitoring System
https://github.com/kairosdb/kairosdb
https://github.com/OpenNMS/newts
https://code.google.com/archive/p/tsdb
https://github.com/gar1t/tsdb
https://github.com/dustin/seriesly
https://github.com/ezhulenev/marketdb
https://github.com/graphite-project/ceres
https://github.com/prometheus/prometheus
https://github.com/akumuli/Akumuli
https://github.com/despegar/khronus

I have started to build a security master data db. I has now only eod from yahoo, but will add data from IB and add fundamentals with help by different APIs and also with help of the Python tool called Scrapy. I do not think it is so important what database you choose. If you later down the road decide to change it is not that big issue to have someone converting it. I use MySQL, as I hire programmers to build my database, I prefer to use a well known database so it's easier to find good programmers to a reasonable price. I use Python for the same reason as well and also Python has a lots of free scripts such as wrappers to APIs of the fundamental databases I need the data from. Such as Yahoo,ECB,FRED,etc.

Thanked by:
 
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


donedge View Post
I have started to build a security master data db. I has now only eod from yahoo, but will add data from IB and add fundamentals with help by different APIs and also with help of the Python tool called Scrapy. I do not think it is so important what database you choose. If you later down the road decide to change it is not that big issue to have someone converting it. I use MySQL, as I hire programmers to build my database, I prefer to use a well known database so it's easier to find good programmers to a reasonable price. I use Python for the same reason as well and also Python has a lots of free scripts such as wrappers to APIs of the fundamental databases I need the data from. Such as Yahoo,ECB,FRED,etc.

MySQL is fine with a "limited" amount of rows, with billions and billions of row per table things can become more difficult (slow). This is were a noSQL data base can help.
I may need such kind of data bases soon and already take a quick look but didn't had a "This is the DB type I need for my databases" (storing tick data with bid/ask).
FYI Big Mike is using MariaDB (with TokuDB as its engine) and it's seems to works with dozen of billions rows
(served by fast hardware).
So I'm do not have answers for @gregid but will follow this thread to find some .

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter
Thanked by:
 
 
Jasonnator's Avatar
 Jasonnator 
Denver, Colorado United States
 
Experience: Intermediate
Platform: NT8 + Custom
Broker: NT Brokerage, Kinetick, IQFeed, Interactive Brokers
Trading: ES
Posts: 159 since Dec 2014
Thanks Given: 40
Thanks Received: 166

Have you looked at QDMS at Software - QUSMA? That may not be a bad place to start with something custom. It's written in C#, open source, and uses MariaDB.

Jason

Thanked by:
 
 
gregid's Avatar
 gregid 
Wrocław, Poland
 
Experience: Intermediate
Platform: NinjaTrader, Racket
Trading: Ockham's razor
Posts: 650 since Aug 2009
Thanks Given: 320
Thanks Received: 623

Thanks guys for your input.

Just as @sam028 mentioned the reason for exploring NoSQL solutions is the usual degrading performance of the relational databases for huge amount of data. I agree with the argument for large knowledge base in the case of SQL and from my own experience I've found SQL dbs to be entirely sufficient for EOD data.
Once you take into consideration tick + bid/ask then the reasoning for a search for better solution becomes more understandable. It's not that I don't want to look at RDBMS - I use them my entire career - it is about exploring what else is out there.

In regards to QUSMA it looks like a nice analytics tool where - from my cursory look - the storage is expected to be local MySQL or MS SQL Server, so it doesn't address the alternative storage issue.
Still a very nice find I am about to explore!

Started this thread
 
 
Jasonnator's Avatar
 Jasonnator 
Denver, Colorado United States
 
Experience: Intermediate
Platform: NT8 + Custom
Broker: NT Brokerage, Kinetick, IQFeed, Interactive Brokers
Trading: ES
Posts: 159 since Dec 2014
Thanks Given: 40
Thanks Received: 166

I was using MongoDB with MongoVUE a few years ago when I was doing some neural network stuff that needed speedy I/O. That combo may be worth a look as well since it is noSQL, simple, and free.

Thanked by:
 
 Optiondreamer 
Spain
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Options
Posts: 13 since Oct 2009
Thanks Given: 12
Thanks Received: 16

What about Tea Files? I use it and works fine....

Thanked by:
 
 
gregid's Avatar
 gregid 
Wrocław, Poland
 
Experience: Intermediate
Platform: NinjaTrader, Racket
Trading: Ockham's razor
Posts: 650 since Aug 2009
Thanks Given: 320
Thanks Received: 623


Optiondreamer View Post
What about Tea Files? I use it and works fine....

Tea Files was not on my radar so thanks for chiming in! Will definitely take a look.

Started this thread
 
 artemiso 
New York, NY
 
Experience: Beginner
Platform: Vanguard 401k
Broker: Yahoo Finance
Trading: Mutual funds
Posts: 1,152 since Jul 2012
Thanks Given: 784
Thanks Received: 2,685



donedge View Post
I do not think it is so important what database you choose.

Golden advice here.


 



Last Updated on May 21, 2019


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts