Commit Graph

162 Commits

Author SHA1 Message Date
zenix
d46267aff9 feature: use ma for tp coefficient, rewrite trailing stop for drift, export all window param to yaml 2022-07-28 19:34:12 +09:00
Yo-An Lin
3aeb6912c9
Merge pull request #846 from c9s/strategy/pivotshort
strategy/pivotshort: refactor breaklow + add fake break stop
2022-07-27 12:18:50 +08:00
Yo-An Lin
4fd571d712
Merge pull request #813 from zenixls2/feature/drift_study
feature: drift study
2022-07-27 11:29:48 +08:00
c9s
feef912930
indicator: pivot low reformat 2022-07-27 01:58:05 +08:00
c9s
4fd318701d
indicator: fix slice 2022-07-27 01:43:36 +08:00
c9s
0e18aa68f7
indicator: fix length slice calculation 2022-07-27 01:32:37 +08:00
c9s
5dd14feb42
indicator: fix pivot low indicator 2022-07-27 01:30:43 +08:00
c9s
578e4b2801
indicator: fix pivot low indicator 2022-07-27 00:58:05 +08:00
c9s
2822e39e7b
pivotshort: remove the legacy preloadPivot 2022-07-26 19:00:09 +08:00
c9s
f460a7901d
indicator: refactor macd indicator 2022-07-26 19:00:09 +08:00
c9s
3959e288fd
all: refactor standard indicator helper and fix tests 2022-07-26 18:35:50 +08:00
c9s
2459dbd384
indicator: refactor hull indicator 2022-07-26 18:26:52 +08:00
c9s
808d742efc
bbgo: add CCI helper 2022-07-26 18:07:43 +08:00
c9s
f5e64e8e70
bbgo: add ATR, ATRP, EMV to the standard indicator set 2022-07-26 18:07:43 +08:00
c9s
46afc54559
bbgo: refactor standard indicator set 2022-07-26 18:07:43 +08:00
c9s
94efa8890b
rename inf.go to interface.go 2022-07-26 18:07:43 +08:00
c9s
82673e501b
indicator: fix test cases 2022-07-26 18:07:43 +08:00
c9s
16c62eab2b
indicator/pivotlow: drop the legacy CalculateAndUpdate 2022-07-26 17:33:09 +08:00
c9s
0df321c880
indicator: drop the legacy CalculateAndUpdate for standard indicators 2022-07-26 17:30:41 +08:00
c9s
8bf9b280fc
add low indicator 2022-07-26 17:27:38 +08:00
c9s
eeab328648
indicator: rewrite pivotlow indicator 2022-07-26 17:00:17 +08:00
zenix
2ceb24ad09 fix: panic on image drawing, reduce fee by smoothing the drift curve 2022-07-26 18:00:05 +09:00
zenix
d2dee44647 fix: ewma copy 2022-07-26 18:00:05 +09:00
zenix
f2d37650a5 fix: drift bias on long entry position condition, make cancel faster 2022-07-26 18:00:05 +09:00
zenix
55704fdd21 fix: Reverse length, alma comment 2022-07-26 18:00:05 +09:00
zenix
586f1ff269 fix: clone on sma 2022-07-26 18:00:05 +09:00
zenix
c51a99400d feature: add plot for series. add autocorrelation. add clone for indicators/series 2022-07-26 18:00:05 +09:00
c9s
44c3e5a6f7
indicator: split pivot low indicator 2022-07-26 16:50:45 +08:00
c9s
ea08a61e28
indicator/stoch: simplify CalculateAndUpdate 2022-07-21 01:35:27 +08:00
c9s
86c1619e50
indicator/stoch: move emitUpdate 2022-07-21 01:35:03 +08:00
c9s
9c89359a5f
indicator/stoch: move endTime check to pushK 2022-07-21 01:34:35 +08:00
c9s
6e043ba129
indicator/till: fix e1 check 2022-07-21 01:33:30 +08:00
c9s
a821641dcf
indicator/atr: implement LoadK and BindK 2022-07-21 01:27:38 +08:00
c9s
0b9d6939f3
indicator/till: add zero time check 2022-07-21 01:22:28 +08:00
c9s
2523c2261b
indicator/till: refactor CalculateAndUpdate 2022-07-21 01:21:29 +08:00
c9s
9f937f529e
bbgo: refactor standard indicator 2022-07-21 01:05:08 +08:00
c9s
4300e00580
indicator/rma: move endTime update to PushK 2022-07-21 01:05:08 +08:00
c9s
dd3bd6a325
indicator: rewrite VWMA calculator 2022-07-14 15:57:17 +08:00
c9s
2ef8ecf3d9
indicator: clean up bollinger band indicator api usage 2022-07-14 14:26:08 +08:00
c9s
a5715c6aee
indicator: rewrite boll indicator with stddev indicator 2022-07-14 14:26:08 +08:00
c9s
975d0d6995
indicator: pull out emit update 2022-07-14 11:36:34 +08:00
c9s
bbf01275cc
indicator/sma: clean CalculateAndUpdate and make cache field private 2022-07-14 11:34:53 +08:00
c9s
7696c9f21e
indicator: improve rma preload 2022-07-14 10:54:46 +08:00
c9s
da4dbf4800
indicator: macd: add link for macd https://school.stockcharts.com/doku.php?id=technical_indicators:macd-histogram 2022-07-14 10:45:22 +08:00
c9s
0b07fb5a83
indicator/macd: drop the legacy func calculateMACD 2022-07-14 10:36:16 +08:00
c9s
a7b7ed6610
rename to KLineClosedEmitter 2022-07-14 10:33:10 +08:00
c9s
77264342ce
indicator: add KLineLoader interface 2022-07-14 10:31:38 +08:00
c9s
cb481c660f
fix all indicators for KLineCalculateUpdater interface 2022-07-14 10:28:53 +08:00
c9s
e6c634690b
indicator: clean up ewma's CalculateAndUpdate 2022-07-14 09:29:54 +08:00
c9s
8d8d9a7c59
indicator/rsi: make update callback field private 2022-07-14 09:18:43 +08:00