Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

SpotBit should allow the user to specify candle resolution for price data

Aperta
#53 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
api, data

Direzione di ricerca

Non vengono indicati file, test o punti di ingresso. Inizia individuando l’API delle candele storiche di SpotBit e il relativo percorso di aggregazione dei dati lato server; il lavoro è completato quando i client possono richiedere bin di candele più grandi e standardizzati, continuando a supportare le query non suddivise in chunk alla massima risoluzione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

SpotBit needs a way that the client can request historical date in a time range that is also "chunked" into larger time bins on the server side before being sent to the client.

For instance, if SpotBit collects one candle for each exchange every 10 minutes, then a month of data for one exchange is 4,320 candles, and for a year it would be 52,560 candles.

It would be helpful if, in addition to specifying a time range of interest, the client could also request a larger "chunk size" than whatever the rate of ingestion of candles to the server. For instance, if I want to create a 30-day price chart, with one candle each day, I only need 30 candles. it would be much faster if the server upon request chunked the 4,320 candles into 30 day-wide candles and returned those to the client. If I wanted 30 days with hourly resolution, this would only be 30 * 24 = 720 candles.

Since the chunked date represents historical information, and is therefore unchanging, SpotBit could even cache those results for use in other requests, assuming a standard bin widths and alignments.

SpotBit could even proactively chunk the data it's receiving into bins of standard useful sizes, like hour, day, week, month, and year, and make those bin sizes easily available through its API. This would cost some processing and storage, but result in much faster query responses.

Queries for un-chunked candles at the highest resolution available could still be supported.

Lingua principale
CSS
Stelle
36
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di BlockchainCommons/spotbit

Tutte le issue di BlockchainCommons/spotbit

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.