https://questdb.io logo
Docs
Join the conversationJoin Slack
Channels
announcement
contributors
github
questdb-linen
random
users-market-data
users-public
Powered by Linen
users-market-data
  • s

    Sebastián Torrealba

    03/22/2022, 7:24 PM
    Great @Newskooler, do you got any experience related QuestDB and grafana for (near) real time aggregation dashboard?
    n
    • 2
    • 36
  • n

    Nicolas Hourcard

    03/23/2022, 5:55 PM
    Hi all - as a quick FYI we are building a live crypto demo; we actually already have the live ingestion sorted, but will add a few things such as example queries and grafana dashboard linked to the same dataset. We will share something with you to collect feedback, but essentially the data in under “trades”: https://demo.questdb.io/
    ❤️ 2
    :coin: 1
    w
    • 2
    • 12
  • n

    Nick Guber

    03/24/2022, 6:19 AM
    SELECT time_bucket('1 day', time) AS day,
      first(price, time) AS open,
      last(price, time) AS close,
      max(price) AS high,
      min(price) AS low,
      sum(volume) AS volume
    FROM prices
    WHERE asset_code = 'TIMS'
      AND time > NOW() - interval '30d'
    GROUP BY day
    ORDER BY day ASC;
    p
    s
    • 3
    • 3
  • n

    Nick Guber

    03/24/2022, 6:19 AM
    Or are there any changes in the SQL from QuestDB
    n
    • 2
    • 2
  • n

    Nick Guber

    03/28/2022, 2:15 PM
    I want to collect price data from multiple websockets and api. My plan is it to collect them in Kafka, which writes them into QuestDB. The question now is, how can I achieve it, that it stores only the high, low, open and close per minute? Do I need Kafka for that with some type of stream processing? Or is it better to store every second the new price in the db and delete the unnecessary values later with a query.
    n
    k
    f
    • 4
    • 7
  • a

    Andrey Pechkurov

    03/28/2022, 6:29 PM
    Hi Sebastian, What's the expected ingestion rate and data volume? You may find the slides from our recent webinar on ILP performance tuning useful: https://drive.google.com/file/d/1akAk7-tsLuhFosohK_k8BlSY5GpYYeYI/view The recording is also available here:

    https://youtu.be/KACcvfsy21Q▾

    s
    • 2
    • 8
  • n

    Nicolas Hourcard

    03/29/2022, 8:00 AM
    a nice tutorial on how to fetch crypto data using python and visualize it via grafana: https://questdb.io/tutorial/2022/03/15/cryptocurrency-grafana-questdb/
    s
    • 2
    • 1
  • w

    Walter Z

    03/30/2022, 9:04 AM
    n
    p
    • 3
    • 3
  • w

    Walter Z

    03/30/2022, 9:30 AM
    which country u guys from
    p
    • 2
    • 1
  • n

    Newskooler

    04/08/2022, 1:09 PM
    Can you please share the query for this, QDB team? 🙂 I want to cross-check something.
    a
    m
    • 3
    • 5
  • n

    Nicolas Hourcard

    04/13/2022, 5:23 PM
    Hi <!channel> we’ve just released a brand new demo with crypto data being streamed live into QuestDB. You can query the dataset with SQL directly on our web console and we included several real-time charts through Grafana https://questdb.io/blog/2022/04/12/query-live-crypto-trades-with-sql-in-real-time
    :coin: 2
    🙌 6
    ❤️ 3
    :questdb_new: 6
  • s

    Sebastián Torrealba

    04/13/2022, 9:00 PM
    thanks @Nicolas Hourcard
  • s

    Sebastián Torrealba

    04/13/2022, 9:00 PM
    Guys any correlation function over two timeseries native on QuestDB?
  • p

    Pei

    04/14/2022, 10:54 AM
    A new tutorial is published 🙂 https://questdb.io/tutorial/2022/03/29/crypto-volumes-julia-questdb/
    👍 2
    n
    • 2
    • 1
  • s

    Sebastián Torrealba

    04/28/2022, 4:16 PM
    HI <!channel> we are storing tick data from crypto from two sourcers, historical csv and real time ws ingestion using influx protocol. We are trying to estimate disk usage over time. Any calculator or best practices to follow? We want to know how much a row with 5 fixes datatypes cost. Ideas more than welcome.
    i
    • 2
    • 38
  • n

    Nicolas Hourcard

    05/27/2022, 3:48 PM
    the blog post made with RedPanda streams crypto data in real time. See #users-public!
  • n

    Nicolas Hourcard

    06/17/2022, 3:20 PM
    Hi folks - we just did a case study with Aquis exchange, use case around business metrics and market data storage and analytics. Hope you enjoy it! https://questdb.io/case-study/aquis/
    🎉 5
  • s

    Super Richman

    06/21/2022, 11:32 AM
    Question: as QuestDB is a time series database, what functions related to time series can I utilize? for example if I want to reference the time entry before the current entry.. something like
    SELECT price,price[-1] FROM cost
    is that possible?
    b
    • 2
    • 27
  • s

    Super Richman

    06/28/2022, 12:09 PM
    Hi again 🙂 I am trying to execute the following statement but I get an error
    SELECT (H-(avg(H))) FROM 'Seven'
    H is float Invalid column: H
    a
    • 2
    • 20
  • k

    Kevin Grüneberg

    07/18/2022, 11:40 AM
    Hi there, is there a way to use LTTB (largest triangle three bucket) algorithm to downsample to a given resolution? Let’s say you are trying to fetch 25 years of stock data and you want to downsample it to a maximum of 500 quotes. LTTB is a great algorithm (compared to plain average).
    j
    • 2
    • 7
  • g

    Grant Wittenberg

    08/12/2022, 2:59 AM
    Hello! I just started using QuestDB and came across a question when importing some ohlc data. Here is the question: https://stackoverflow.com/questions/73327660/how-specify-unique-column-for-questdb-import Also please feel free to redirect me if this is not an ideal spot to post this type of question.
    b
    • 2
    • 4
  • m

    Michal Zeman

    08/16/2022, 11:58 AM
    Hi, we came across a problem with querying part of our data. There is a few hours window where can't access saved data in our table. When we request data before this period of time it is fine and also after. Here is the core dump. Any help appreciate. Thanks!
    p
    • 2
    • 13
  • s

    Shriram Sunder

    08/16/2022, 8:55 PM
    Hey team, just a quick question for whoever is awake, I'm trying to push some data into a table (that's not been created yet, let's call it 'aggs' for aggregate data). As I'm inserting this data, I'm getting the following error:
    panic: table name already provided: invalid message
    This is the code that does the insertion... am I doing anything wrong? It works exactly as expected when I used the exact same code for another table to insert all the tickers info.
    sender, _ := QDBConnectILP(ctx)
    	defer sender.Close()
       
        // For each of these results, push!
    	for _, agg := range aggBar.Results {
    		err := sender.Table("aggs").
    			Symbol("ticker", aggBar.Ticker).
    			StringColumn("timespan", timespan).
    			Int64Column("multiplier", int64(multiplier)).
    			Float64Column("timestamp", agg.T).
    			Float64Column("open", agg.O).
    			Float64Column("high", agg.H).
    			Float64Column("low", agg.L).
    			Float64Column("close", agg.C).
    			Float64Column("volume", agg.V).
    			Float64Column("vw", agg.Vw).
    			Float64Column("n", float64(agg.N)).
    			At(ctx, time.Now().UnixNano())
    		CheckErr(err)
    	}
    
    	// Make sure that the messages are sent over the network.
    	err = sender.Flush(ctx)
    	CheckErr(err)
    b
    a
    • 3
    • 7
  • s

    Sebastián Torrealba

    08/22/2022, 6:40 PM
    Hi Guys, does anyone got a efficient implementación of exponencial/simples moving averages of timeseries? Use case: coefficient calibration for autoregressive integrated moving average (ARIMA) model
    h
    • 2
    • 2
  • m

    memphis

    08/23/2022, 11:31 AM
    👋 大家好!
  • r

    R D

    08/25/2022, 5:04 AM
    I have a question (not exclusively applicable to questdb) that I'm hoping I can get some help on. I have a process that receives tick data from a websocket and writes it to Questdb. Sometimes, this process needs to be updated (ex. to start tracking new exchange listings). What can I do to ensure that there are both no gaps and no duplicates in my data? I'd guess a first step would be to spin up another instance of this producer process before shutting down the first one. The problem is that there will be some time where both processes are active, meaning that the second process cannot simply write to the same db table as the first as that will result in duplicated data. I can't just hash each row and check if that hash already exists as it is possible for 2 trades to occur with the same size and volume at the same time, resulting in an identical hash without being identical entries.
    z
    • 2
    • 10
  • j

    Jone Qiang

    08/27/2022, 1:27 PM
    what's reason for this issue: io.questdb.cutlass.line.LineSenderException: [111] could not connect to host [host=localhost] at io.questdb.cutlass.line.tcp.PlainTcpLineChannel.<init>(PlainTcpLineChannel.java:75) ~[questdb-6.4.3-jdk8.jar:6.4.3-jdk8]
    a
    • 2
    • 65
  • j

    Jone Qiang

    08/31/2022, 3:54 AM
    https://github.com/questdb/questdb/issues/2483 ILP insert frequently, server crashed.version 6.5.1
    p
    • 2
    • 3
  • k

    Kevin

    09/04/2022, 1:09 AM
    Is there a way to get the latest (edge/nightly) release of questdb. I need a version with this commit: https://github.com/questdb/questdb/pull/2490 Unfortunately without it questdb can't initialize properly on freebsd.
  • n

    Nicolas Hourcard

    09/04/2022, 9:41 AM
    hey Kevin, we should be releasing the next version tomorrow
Powered by Linen
Title
n

Nicolas Hourcard

09/04/2022, 9:41 AM
hey Kevin, we should be releasing the next version tomorrow
View count: 3