Commit Graph

22 Commits

Author SHA1 Message Date
c9s
36e90cf5ca
grid2: rename filterPrice to roundAndTruncatePrice 2024-02-23 18:50:57 +08:00
c9s
461735e043
grid2: add remove duplicated pins and pull out filter price prec func 2023-07-22 11:36:04 +08:00
c9s
f7a5c84768
all: reformat code 2023-05-25 14:01:22 +08:00
gx578007
0e2e8306b4 FEATURE: [grid2] using dnum 2023-03-20 18:00:41 +08:00
c9s
62b8863ca6
grid2: fix pin price precision 2023-02-15 22:32:55 +08:00
c9s
44210bf26a
grid2: adjust test case tick size 2023-02-15 16:05:45 +08:00
c9s
a7e100563a
grid2: add test case 2023-02-15 16:03:24 +08:00
c9s
2fecf0dc79
grid2: fix HasPrice 2023-02-15 14:57:21 +08:00
c9s
3bf24d97f0
grid2: add HasPrice test 2023-02-15 14:42:01 +08:00
c9s
854ac4f8ea
grid2: fix pin price algorithm 2023-02-01 18:56:01 +08:00
c9s
74daa76e75
grid2: fix grid num calculation 2023-01-16 18:34:08 +08:00
c9s
e981ad641a
grid2: ignore test build for dnum 2022-12-02 00:10:00 +08:00
c9s
a42c1799e2
grid2: define PinCalculator type 2022-12-02 00:09:58 +08:00
c9s
a8cbe0e488
grid2: pull out calculate pins call 2022-12-02 00:09:58 +08:00
c9s
84c3d386ca
grid2: implement find next higher/lower pin 2022-12-02 00:09:58 +08:00
c9s
629cea0f44
grid2: fix ExtendUpperPrice and its tests 2022-12-02 00:09:58 +08:00
c9s
4fb2230e5d
grid2: improve number func 2022-12-02 00:09:58 +08:00
c9s
f46fc7ee80
grid2: fix tests 2022-12-02 00:09:58 +08:00
c9s
4ddbeff7e4
grid2: fix Test_calculateArithmeticPins 2022-12-02 00:09:58 +08:00
c9s
f98c00b7aa
grid2: fix extendLowerPrice method and tests 2022-12-02 00:09:58 +08:00
c9s
2761cff2bf
grid2: add pin tests 2022-12-02 00:09:57 +08:00
c9s
21a1d550e3
grid2: add grid struct 2022-12-02 00:09:57 +08:00