Skip to content

FEATURE: round down executed amount to avoid insufficient balance - #1295

Merged
kbearXD merged 1 commit into
mainfrom
feature/grid2/amount-round-down
Sep 5, 2023
Merged

kbearXD merged 1 commit into
mainfrom
feature/grid2/amount-round-down

Conversation

@kbearXD

@kbearXD kbearXD commented Aug 31, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@kbearXD
kbearXD requested a review from c9s August 31, 2023 04:40
@kbearXD
kbearXD requested a review from gx578007 as a code owner August 31, 2023 04:40
@bbgokarma-bot

Copy link
Copy Markdown

Hi @kbearXD,

This pull request may get 207 BBG.

To receive BBG token, please left your polygon address as an issue comment in this pull request with the following format, e.g.,

polygon:0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B

Once this pull request is merged, your BBG token will be sent to your wallet.

@codecov

codecov Bot commented Aug 31, 2023

Copy link
Copy Markdown

Codecov Report

Merging #1295 (9dc7244) into main (f8ae408) will increase coverage by 0.00%.
Report is 195 commits behind head on main.
The diff coverage is 31.59%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1295   +/-   ##
=======================================
  Coverage   20.83%   20.83%           
=======================================
  Files         553      553           
  Lines       39346    39348    +2     
=======================================
+ Hits         8196     8198    +2     
  Misses      30552    30552           
  Partials      598      598           
Files Changed Coverage Δ
pkg/bbgo/order_executor_simple.go 0.00% <0.00%> (ø)
pkg/core/orderstore.go 19.00% <ø> (ø)
.../binance/binanceapi/get_deposit_history_request.go 0.00% <ø> (ø)
...inanceapi/transfer_cross_margin_account_request.go 0.00% <0.00%> (ø)
...nceapi/transfer_isolated_margin_account_request.go 0.00% <0.00%> (ø)
pkg/exchange/binance/cancel_replace.go 0.00% <0.00%> (ø)
pkg/exchange/binance/exchange.go 1.68% <0.00%> (ø)
...kg/exchange/bybit/bybitapi/cancel_order_request.go 0.00% <0.00%> (ø)
pkg/exchange/bybit/bybitapi/client.go 0.00% <0.00%> (ø)
...xchange/bybit/bybitapi/get_account_info_request.go 0.00% <0.00%> (ø)
... and 48 more

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2c4b6e8...9dc7244. Read the comment docs.

@kbearXD
kbearXD merged commit 79d98e8 into main Sep 5, 2023
@kbearXD
kbearXD deleted the feature/grid2/amount-round-down branch September 5, 2023 06:35
novaua pushed a commit to novaua/bbgo that referenced this pull request Jun 12, 2026
FEATURE: round down executed amount to avoid insufficient balance
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