Commit Graph

5324 Commits

Author SHA1 Message Date
c9s
e5251400a4
add ampl and change percentage 2022-06-27 16:56:31 +08:00
c9s
ec86d49135
add price change and improve time format 2022-06-27 16:50:01 +08:00
c9s
c9aed1e21b
backtest: fix empty data format
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-27 16:40:44 +08:00
c9s
f12e173254
backtest: remove debug log
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-27 16:40:04 +08:00
c9s
8db6c5e278
add ohlc legend 2022-06-27 16:39:46 +08:00
c9s
a90b6bd1f5
refactor TradingViewChart 2022-06-27 16:24:00 +08:00
c9s
ec3ac4e077
backtest: pull out OrderListTable 2022-06-27 16:17:06 +08:00
Yo-An Lin
3e7d03dfa7
Merge pull request #766 from c9s/feature/time-range-picker
backtest-report: add time range slider
2022-06-27 16:01:57 +08:00
c9s
dfdfd6b85e
types: use pointer receiver for submit order
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-27 15:56:09 +08:00
c9s
94ad8a5096
gross loss and gross profit 2022-06-27 14:40:49 +08:00
c9s
278a9e90e7
disable lastValueVisible 2022-06-27 14:38:11 +08:00
c9s
1987f8c55d
improve time range slider format 2022-06-27 14:05:08 +08:00
c9s
94a70f4fbe
add time range slider 2022-06-27 13:49:05 +08:00
Yo-An Lin
0ad63b55d3
Merge pull request #765 from c9s/strategy/pivotshort
improve: backtest-report layout improvements, EMA indicators and fixed the clean up issue
2022-06-27 02:44:37 +08:00
c9s
30079feb1e
backtest-report: add Show Canceled orders option 2022-06-27 02:37:01 +08:00
c9s
2eca045245
backtest-report: add order list table and support visible range selection
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-27 02:31:34 +08:00
c9s
f16fad4ca1
backtest-report: add order list table
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-27 02:05:21 +08:00
c9s
2fd7af1a90
fix resizeObserver clean up issue 2022-06-27 01:42:12 +08:00
c9s
8f04423ee6
backtest-report: add ema indicators 2022-06-27 01:26:46 +08:00
c9s
fa211a27bc
backtest-report: add checkbox to switch average cost and base line 2022-06-27 00:24:15 +08:00
Yo-An Lin
fc5a753933
Merge pull request #764 from c9s/strategy/pivotshort
strategy/pivotshort: refactor exit methods and add protection stop exit method
2022-06-27 00:20:11 +08:00
c9s
d46954a4b1
fix SimplePriceMatching test
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-27 00:13:57 +08:00
c9s
a9ab77f6d3
backtest-report: use segment control 2022-06-27 00:10:58 +08:00
c9s
1557423229
pivotshort: improve useQuantityOrBaseBalance and add bounce short check 2022-06-26 19:45:37 +08:00
c9s
4d862a4286
pivotshort: remove market trade debug 2022-06-26 19:29:01 +08:00
c9s
e1a9df0a2d
pivotshort: add safety check 2022-06-26 19:20:46 +08:00
c9s
279bb66a4d
update config structure 2022-06-26 19:20:46 +08:00
c9s
3604bae933
pivotshort: pull out stop price check to a single method 2022-06-26 19:06:16 +08:00
c9s
ef31e90728
pivotshort: clean up
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-26 16:32:48 +08:00
c9s
e9b87f6f1e
pivotshort: refactor exit methods
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-26 16:31:48 +08:00
c9s
47677e303f
pivotshort: refactor take profit and stop loss methods
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-26 16:13:58 +08:00
c9s
4c02d8f729
implement QueryOrder on the backtest exchange 2022-06-26 16:10:10 +08:00
c9s
88059016b4
add position roi tests
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-26 16:03:42 +08:00
c9s
0715437cc5
fix lastRecordTime
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-26 13:23:04 +08:00
c9s
25fb684fd1
types: add ROI method on position
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-26 13:11:19 +08:00
なるみ
a74eca3773
Merge pull request #761 from narumiruna/glassnode/simplify
datasource: refactor glassnodeapi
2022-06-25 20:31:56 +08:00
なるみ
cbb3effc42 glassnode: add QueryOptions 2022-06-25 20:25:42 +08:00
なるみ
99d6c0550d glassnode: add Request struct 2022-06-25 19:59:00 +08:00
なるみ
5ce5571b5e glassnode: delete all requests 2022-06-25 19:59:00 +08:00
c9s
4e670c67a8
pivotshort: change ratio calculation 2022-06-25 18:13:50 +08:00
c9s
66f923ad0d
backtest: add kline fixture generator
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-25 17:55:31 +08:00
c9s
118928d388
implement kline fixture generator 2022-06-25 17:52:37 +08:00
c9s
2e49a95d32
bbgo: remove unused context object
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-25 17:02:53 +08:00
Yo-An Lin
c363fb55d5
Merge pull request #760 from c9s/narumiruna-patch-1
doc: fix link
2022-06-25 17:00:20 +08:00
c9s
94b9406587
add codecov.yaml 2022-06-25 16:58:06 +08:00
c9s
b25be3d702
add doc comments 2022-06-25 16:55:54 +08:00
c9s
9f0e12dc25
service: fix import 2022-06-25 16:46:40 +08:00
なるみ
2afc41157d
Update migration.md 2022-06-24 21:40:24 +08:00
c9s
7dd314703c
service: fix trade test
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-24 19:30:17 +08:00
c9s
751085f8ff
clean up todo comment 2022-06-24 19:24:49 +08:00