Commit Graph

16 Commits

Author SHA1 Message Date
c9s
263c0883d1
bbgo: solve the scale when unmarshalling the json 2023-12-07 16:18:23 +08:00
c9s
aa4f998382
bbgo: add scale Sum method 2023-06-14 17:25:23 +08:00
Andy Cheng
d51a802315
fix/scale: fix typo and add some more tests 2023-03-10 13:51:29 +08:00
Andy Cheng
f92bcda51d
improve/exit: fix typo 2023-03-08 19:31:47 +08:00
Andy Cheng
9068ed7ae3
fix/scale: fix LinearScale calculation 2023-03-08 16:23:04 +08:00
zenix
e221f54397 add dnum as the fixedpoint implementation. change types float64 to fixedpoint.Value
change pnl report to use fixedpoint

fix: migrate kline to use fixedpoint
2022-02-15 12:00:39 +09:00
c9s
1ef5a37225 bbgo/scale: check domain range 2022-01-27 02:32:26 +08:00
c9s
49f671ef54 add PercentageScale and its tests 2022-01-27 01:40:54 +08:00
c9s
3d12a7df59 support: add sensitivity settings 2021-06-16 13:14:10 +08:00
c9s
ddab6083d4 xmaker: support quantity scale 2021-05-10 02:52:41 +08:00
c9s
40fded70b2 reformat scale.go 2021-03-16 02:14:10 +08:00
c9s
da79920ca9 rename scale struct name to PriceVolumeScale 2021-02-28 14:51:24 +08:00
c9s
99f236d2e0 integrate quantity scale into support strategy and grid strategy 2021-02-28 11:57:25 +08:00
c9s
bf87fbbf55 add LinearScale 2021-02-28 02:20:47 +08:00
c9s
83af52c53b add QuadraticScale 2021-02-28 02:06:33 +08:00
c9s
fbb8837c5c add exp scale and log scale formula 2021-02-28 01:53:45 +08:00