bbgo icon indicating copy to clipboard operation
bbgo copied to clipboard

WIP: Recreate infinity grid

Open ksidenko opened this issue 3 years ago β€’ 8 comments

Fix & Rewrite code from https://github.com/jnlin/bbgo-strategy-infinite-grid/blob/main/strategy.go

Addition features:

  • add cleanup limit order logic when price ↑ or ↓ (https://github.com/c9s/bbgo/compare/main...ksidenko:recreate-infinity-grid?expand=1#diff-378c135c835046a31b907fc9e387f6d6a287d76248e6261d87689b4147772108R333 )
image

ksidenko avatar Jun 17 '22 07:06 ksidenko

Welcome back! @ksidenko, This pull request may get 824 BBG.

bbgokarma-bot avatar Jun 17 '22 07:06 bbgokarma-bot

πŸ‘

c9s avatar Jun 17 '22 08:06 c9s

πŸ‘πŸ‘πŸ‘

jnlin avatar Jun 17 '22 11:06 jnlin

@c9s i have such output image

There are many records like this:

INFO :memo: Submitting ETHUSDT LIMIT BUY order with quantity: 0.051546 @ 1119.296010, order: %!v(MISSING)

  1. Can we do this memo message with log level Debug?
  2. %!v(MISSING) - some error fmt in logic

INFO β†’submitting following order: SubmitOrder ETHUSDT LIMIT BUY 0.05154639 @ 1187.46113646 How can I change precise 1187.46113646 β†’ 1187 ?

ksidenko avatar Jun 17 '22 11:06 ksidenko

Re-estimated karma: this pull request may get 985 BBG

bbgokarma-bot avatar Jun 18 '22 09:06 bbgokarma-bot

Re-estimated karma: this pull request may get 1049 BBG

bbgokarma-bot avatar Jun 18 '22 09:06 bbgokarma-bot

Re-estimated karma: this pull request may get 1075 BBG

bbgokarma-bot avatar Jun 21 '22 08:06 bbgokarma-bot

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jan 24 '24 07:01 CLAassistant