Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[!feat] Update Binance #58

Merged
merged 30 commits into from
Jul 8, 2024
Merged

[!feat] Update Binance #58

merged 30 commits into from
Jul 8, 2024

Conversation

warittornc
Copy link
Member

Implementation details

  • Do 1
  • Do 2

Please ensure the following requirements are met before submitting a pull request:

  • The pull request is targeted against the correct target branch
  • The pull request is linked to an issue with appropriate discussion and an accepted design OR is linked to a spec that describes the work.
  • The pull request includes a description of the implementation/work done in detail.
  • The pull request includes any appropriate unit/integration tests
  • You have added a relevant changelog entry to CHANGELOG.md
  • You have re-reviewed the files affected by the pull request (e.g. using the Files changed tab in the GitHub PR explorer)

@warittornc warittornc marked this pull request as draft July 3, 2024 09:51
@warittornc warittornc requested a review from sorawit July 4, 2024 05:52
Copy link
Member

@sorawit sorawit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments

bothan-binance/src/store/builder.rs Outdated Show resolved Hide resolved
bothan-binance/src/store/builder.rs Outdated Show resolved Hide resolved
bothan-binance/src/store/builder.rs Outdated Show resolved Hide resolved
bothan-binance/src/store.rs Outdated Show resolved Hide resolved
bothan-binance/src/store.rs Outdated Show resolved Hide resolved
bothan-binance/src/store/asset_store.rs Outdated Show resolved Hide resolved
bothan-binance/src/store/builder.rs Outdated Show resolved Hide resolved
bothan-binance/src/store/builder.rs Outdated Show resolved Hide resolved
bothan-binance/Cargo.toml Outdated Show resolved Hide resolved
bothan-binance/src/store.rs Outdated Show resolved Hide resolved
bothan-core/src/store.rs Show resolved Hide resolved
bothan-binance/src/store/asset_worker.rs Outdated Show resolved Hide resolved
bothan-binance/src/store/asset_worker.rs Outdated Show resolved Hide resolved
bothan-binance/src/store/asset_worker.rs Outdated Show resolved Hide resolved
bothan-binance/src/store/asset_worker.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker.rs Outdated Show resolved Hide resolved
@warittornc warittornc requested a review from sorawit July 4, 2024 10:41
@warittornc warittornc marked this pull request as ready for review July 4, 2024 10:44
bothan-binance/src/api/types.rs Outdated Show resolved Hide resolved
bothan-binance/src/api/websocket.rs Show resolved Hide resolved
bothan-binance/src/api/websocket.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker/asset_worker.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker/asset_worker.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker/asset_worker.rs Outdated Show resolved Hide resolved
bothan-core/src/utils.rs Outdated Show resolved Hide resolved
@warittornc warittornc requested a review from sorawit July 4, 2024 15:57
bothan-binance/src/worker.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker/asset_worker.rs Outdated Show resolved Hide resolved
Copy link
Member

@sorawit sorawit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

bothan-binance/src/api/websocket.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker/asset_worker.rs Show resolved Hide resolved
bothan-core/src/store.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker.rs Outdated Show resolved Hide resolved
bothan-core/src/worker.rs Outdated Show resolved Hide resolved
bothan-core/src/store.rs Show resolved Hide resolved
bothan-core/src/store.rs Outdated Show resolved Hide resolved
bothan-core/src/store.rs Outdated Show resolved Hide resolved
bothan-binance/src/api/error.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker/builder.rs Outdated Show resolved Hide resolved
bothan-binance/src/api/websocket.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker/asset_worker.rs Outdated Show resolved Hide resolved
@warittornc warittornc requested a review from sorawit July 8, 2024 03:32
@sorawit
Copy link
Member

sorawit commented Jul 8, 2024

lgtm. will leave it to @taobun / @RogerKSI to approve

@warittornc warittornc requested a review from taobun July 8, 2024 06:14
bothan-binance/src/api/error.rs Outdated Show resolved Hide resolved
bothan-binance/src/worker/builder.rs Outdated Show resolved Hide resolved
@warittornc warittornc merged commit 8dd3c5d into update Jul 8, 2024
3 checks passed
@warittornc warittornc deleted the update-binance branch July 8, 2024 10:29
warittornc added a commit that referenced this pull request Sep 6, 2024
* minor changes

* [!feat] Update Binance (#58)

* modify binance

* minor change

* fix

* minor changes and add doc

* remove unnecessary traits

* simplify to single store

* simplify to single store

* refactor

* remove anyhow and cleanup

* fix

* fix comment and cleanup

* minor move

* fix doc

* fix comments

* fix and format

* add ids to log

* rename set to add

* added more descriptive doc for builder opts

* fixed typo

* fixed

* add disconnect on exit

* cleanup

* grammer fix

* add verbose error

* change type from T to K

* format

* fix

* cleanup

* fix comments

* change error to warn

* [!feat] Refactor CoinGecko (#60)

* [!feat] Minor Specification Changes  (#62)

* update proto

* minor changes

* regenerate proto

* [!feat] Refactor Kraken (#61)

* refactor kraken

* add more comments

* store multiple assetinfos at once, add unit tests

* fix worker type spec

* [!feat] Refactor API (#63)

refactor api

* [fix] Update bincode (#66)

* minor cleanup

* added extra logging

* update bincode

* fixed formating and minor refactor

* fixed var name

---------

Co-authored-by: Ongart Pisansathienwong <ongart.pisan@gmail.com>
colmazia added a commit that referenced this pull request Sep 25, 2024
* minor changes

* [!feat] Update Binance (#58)

* modify binance

* minor change

* fix

* minor changes and add doc

* remove unnecessary traits

* simplify to single store

* simplify to single store

* refactor

* remove anyhow and cleanup

* fix

* fix comment and cleanup

* minor move

* fix doc

* fix comments

* fix and format

* add ids to log

* rename set to add

* added more descriptive doc for builder opts

* fixed typo

* fixed

* add disconnect on exit

* cleanup

* grammer fix

* add verbose error

* change type from T to K

* format

* fix

* cleanup

* fix comments

* change error to warn

* [!feat] Refactor CoinGecko (#60)

* [!feat] Minor Specification Changes  (#62)

* update proto

* minor changes

* regenerate proto

* [!feat] Refactor Kraken (#61)

* refactor kraken

* add more comments

* store multiple assetinfos at once, add unit tests

* fix worker type spec

* implement okx refactoring

* add unit tests

* delete unnecessary files

* [!feat] Refactor API (#63)

refactor api

* update okx to match new bothan

* [fix] Update bincode (#66)

* minor cleanup

* added extra logging

* update bincode

* fixed formating and minor refactor

* fixed var name

* fix from comments

* fix merging bug

* fix members order

* fix Cargo.toml

* fix from comments

* fix default timeout

* change websocket connection error

---------

Co-authored-by: Warittorn Cheevachaipimol <warittorn@bandprotocol.com>
Co-authored-by: warittornc <69615455+warittornc@users.noreply.github.com>
Co-authored-by: Kitipong Sirirueangsakul <kitipong.sirir@gmail.com>
colmazia added a commit that referenced this pull request Sep 25, 2024
* minor changes

* [!feat] Update Binance (#58)

* modify binance

* minor change

* fix

* minor changes and add doc

* remove unnecessary traits

* simplify to single store

* simplify to single store

* refactor

* remove anyhow and cleanup

* fix

* fix comment and cleanup

* minor move

* fix doc

* fix comments

* fix and format

* add ids to log

* rename set to add

* added more descriptive doc for builder opts

* fixed typo

* fixed

* add disconnect on exit

* cleanup

* grammer fix

* add verbose error

* change type from T to K

* format

* fix

* cleanup

* fix comments

* change error to warn

* [!feat] Refactor CoinGecko (#60)

* [!feat] Minor Specification Changes  (#62)

* update proto

* minor changes

* regenerate proto

* [!feat] Refactor Kraken (#61)

* refactor kraken

* add more comments

* store multiple assetinfos at once, add unit tests

* fix worker type spec

* implement coinbase refactoring

* add unit tests

* [!feat] Refactor API (#63)

refactor api

* update coinbase to match new bothan

* fix format

* fix merging bug

* fix merged files

* fix from comments in update-okx

* fix format

* change default timeout

* fix from comments

* fix websocket connection error

* fix decimal error name

---------

Co-authored-by: Warittorn Cheevachaipimol <warittorn@bandprotocol.com>
Co-authored-by: warittornc <69615455+warittornc@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants