Commit Graph

711 Commits

Author SHA1 Message Date
zenix
55fa4cc8f1 fix: apply gofmt on all files, add revive action 2022-06-17 16:06:59 +09:00
Andy Cheng
5c8cc397f9
Merge pull request #720 from andycheng123/fix/supertrend
fix: fix strategy supertrend
2022-06-17 10:26:09 +08:00
Andy Cheng
55f36b2f3e supertrend: add comment to make the condition clearer 2022-06-17 10:15:54 +08:00
Andy Cheng
f6770df50f supertrend: log with symbol 2022-06-16 17:14:50 +08:00
なるみ
50fbf0727e types: move valuemap and floatmap to types 2022-06-16 16:44:27 +08:00
なるみ
5799497a09 marketp: add marketcap strategy 2022-06-16 16:44:02 +08:00
なるみ
8d9faff859 rebalance: validate symbols 2022-06-16 10:44:13 +08:00
なるみ
3d0ad010eb rebalance: replace Float64Slice by ValueMap 2022-06-16 10:44:13 +08:00
なるみ
ad98cf883c rebalance: remove unused subscriptions 2022-06-16 01:33:28 +08:00
なるみ
21a793e16b rebalance: rename variable 2022-06-16 01:33:28 +08:00
なるみ
87adf694b1 rebalance: manage active order book without specifying symbol 2022-06-16 01:33:28 +08:00
なるみ
a4814951d4 rebalance: remove ignoreLock and simplify code 2022-06-16 01:33:28 +08:00
なるみ
f19e1fdf87 rebalance: rename methods 2022-06-16 00:22:19 +08:00
Andy Cheng
91e4003520 strategy: prevent supertrend from open extra position 2022-06-15 12:22:26 +08:00
c9s
5aa2f8a681
xmaker: skip quoting if bb value is zero 2022-06-15 01:18:46 +08:00
c9s
5210b97a23
xmaker: update klines to boll indicator 2022-06-15 01:17:41 +08:00
c9s
b47d103cf8
xmaker: pull out band value to fixedpoint 2022-06-15 01:13:54 +08:00
zenix
bf6726a529 fix: output color output to stderr 2022-06-14 14:41:41 +09:00
zenix
28d01486ee clean: clean code, add comments, add more report on exit 2022-06-14 14:41:41 +09:00
zenix
0ff3d94919 refactor: ewo choose ma 2022-06-14 14:41:41 +09:00
zenix
b5b1719045 feature: filter signal by ewo histogram and 3*atr entry 2022-06-14 14:41:41 +09:00
c9s
a506a00001
xmaker: fix position notify 2022-06-13 12:04:35 +08:00
c9s
5949c7587e
make bounce short optional 2022-06-11 16:41:56 +08:00
c9s
3d0c0717ba
pivotshort: fix bounce short 2022-06-11 16:33:21 +08:00
c9s
ec68dc2f40
reimplement placeBounceSellOrders 2022-06-11 00:26:44 +08:00
c9s
46450c0122
pivotshort: rename pivotLength to window and update indicator manually 2022-06-10 15:34:57 +08:00
c9s
91b9605884
pivotshort: manually update pivot indicator 2022-06-10 15:18:12 +08:00
c9s
a9d2a9e57a
pivotshort: add breakLow.bounceRatio option 2022-06-10 11:36:04 +08:00
Yo-An Lin
aeae2d58c9
Merge pull request #699 from c9s/strategy/pivot
pivotshort: add roiMinTakeProfitPercentage option and cumulatedVolume…
2022-06-10 02:47:13 +08:00
c9s
35a58268cf
pivotshort: add roiMinTakeProfitPercentage option and cumulatedVolume option 2022-06-10 02:39:14 +08:00
Yo-An Lin
449186f460
Merge pull request #697 from andycheng123/fix/supertrend
strategy: remove redundant code
2022-06-10 01:29:45 +08:00
c9s
e575236db8
pivotshort: adjust shadow ratio calculation 2022-06-10 01:21:59 +08:00
c9s
260857b5b1
pivotshort: add TradeStats 2022-06-10 00:49:32 +08:00
c9s
a8134561f5
pivotshort: add stopEMA 2022-06-09 18:16:32 +08:00
c9s
aa2ba265f1
pivotshort: refactor and add more fix 2022-06-09 17:36:22 +08:00
Andy Cheng
2e3badc0da strategy: remove redundant code 2022-06-09 16:37:19 +08:00
c9s
4f9ac6f3fb
pivotshort: move notification message to make log clean 2022-06-09 15:50:43 +08:00
c9s
5a809f60e0
pivotshort: fix order cancel step 2022-06-09 13:26:30 +08:00
c9s
4b08e93758
rename st = store 2022-06-09 12:34:23 +08:00
c9s
e17535e651
pivotshort: fix position close bugs 2022-06-09 12:34:23 +08:00
c9s
1bfc125a52
gracefully cancel order before closing position 2022-06-09 12:34:23 +08:00
c9s
77b704b6ec
move some methods back for refactoring 2022-06-09 12:34:22 +08:00
austin362667
3c40f9e90e
pivotshort: improve market sell when breaks previous pivot low only
pivotshort: improve market sell when breaks previous pivot low only
2022-06-09 12:34:22 +08:00
zenix
7a045a48d4 fix: drift window in factorzoo, order_execution print order, refactor: use defer to mu.Unlock in depth/buffer.go 2022-06-08 12:14:53 +09:00
zenix
9dd8dbbede feature: add drift indicator, split heikinashi's Queue 2022-06-08 01:21:18 +08:00
c9s
9a29843477
add dca strategy 2022-06-07 20:26:44 +08:00
Andy Cheng
9836fbbf82 strategy: rebase 2022-06-07 16:49:43 +08:00
Andy Cheng
34465fac89
Merge pull request #653 from andycheng123/strategy/supertrend
strategy: add supertrend strategy
2022-06-07 16:25:49 +08:00
Andy Cheng
ee26d6ce34 strategy: Persistence.Sync() after position change 2022-06-07 16:04:40 +08:00
Yo-An Lin
037f2949bd
Merge pull request #678 from andycheng123/fix/interact
interact: fix missing make()
2022-06-07 12:31:53 +08:00