Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#53 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
領域
api, data

調査の方向性

ファイル、テスト、エントリーポイントは指定されていません。まず、SpotBit の履歴ローソク足 API とサーバー側のデータ集約パスを特定してください。クライアントがより大きく標準化されたローソク足ビンを要求でき、チャンク化されていない最高解像度のクエリも引き続きサポートされれば、作業は完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
CSS
スター
36
フォーク
17
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

BlockchainCommons/spotbit のほかの issue

BlockchainCommons/spotbit の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。