Commit Graph

7516 Commits

Author SHA1 Message Date
c9s
2f575488c2
pivotshort: fix log format and notification 2022-09-16 11:18:11 +08:00
c9s
9ebb8ada13
optimizer: wrap error with the output if err is not nil 2022-09-16 01:53:23 +08:00
c9s
9819f0941b
pivotshort: clean up debug comment 2022-09-16 01:24:01 +08:00
c9s
cd338f8fe2
pivotshort: add pivotWindow parameter 2022-09-16 01:23:15 +08:00
c9s
427723dcaf
bbgo: improve trendEMA condition 2022-09-16 01:20:48 +08:00
c9s
3d7fc75e4b
pivotshort: add MACDDivergence protection 2022-09-16 01:15:18 +08:00
Yo-An Lin
99f915bc15
Merge pull request #952 from c9s/fix/profit-stats
fix: fix profit stats calculation and since time field initialisation
2022-09-15 17:56:57 +08:00
c9s
e2dd7c7360
indicator: improve macd indicator update callback 2022-09-15 17:53:12 +08:00
c9s
24fd81986c
types: init today since if it's 0 2022-09-15 17:29:16 +08:00
c9s
f0c0c6712d
types: use tradedAt time instead of time.Now 2022-09-15 17:26:35 +08:00
Yo-An Lin
c231a31d63
Merge pull request #951 from narumiruna/marketcap-doc
DOC: add marketcap doc
2022-09-15 17:18:16 +08:00
c9s
0ead18a95b
types: fix gross profit calculation 2022-09-15 17:12:12 +08:00
c9s
8bfd1f7f30
indicator: refactor pivot function to floats 2022-09-15 17:12:10 +08:00
c9s
a297b26dfb
types: fix AccumulatedSince initialization 2022-09-15 17:10:53 +08:00
c9s
0096d561d7
types: fix gross profit calculation 2022-09-15 17:09:32 +08:00
なるみ
d236cde529 add marketcap doc 2022-09-15 14:20:11 +08:00
c9s
432f9df137
indicator: refactor pivot function to floats 2022-09-15 11:49:19 +08:00
c9s
539513ada0
pivotshort: fix breaklow parameters 2022-09-14 21:03:54 +08:00
zenix
528d65c9fb fix: hide ZeroValue from dynamic 2022-09-14 20:12:53 +09:00
zenix
b66bcb1f67 fix: add more test cases on reflect.Value.Set 2022-09-14 20:11:38 +09:00
c9s
53d622daf5
pivotshort: add the kline object to the notification 2022-09-14 19:08:54 +08:00
c9s
728cb6d56c
pivotshort: add one more kline pattern to check the break 2022-09-14 19:08:21 +08:00
c9s
3ab5d35b77
bbgo: fix macdIndicators map initialization 2022-09-14 18:44:38 +08:00
c9s
67b526120a
indicator/macd: fix update callback and add log in pivotshort 2022-09-14 18:41:11 +08:00
c9s
7fd2b7472c
bbgo: integrate MACD indicator into standard indicator set 2022-09-14 18:33:06 +08:00
c9s
82b4594984
pivotshort: remove unused trendEMA floats 2022-09-14 18:20:56 +08:00
c9s
ebf4abf54d
pivotshort: improve last high/low invalidation 2022-09-14 18:20:02 +08:00
c9s
88696bc6d2
bbgo: add more interface implementation for order executor 2022-09-14 15:54:43 +08:00
Yo-An Lin
dc195e824b
Merge pull request #920 from austin362667/austin362667/factorzoo
strategy: add trend trader
2022-09-14 15:00:08 +08:00
Yo-An Lin
54782e763b
Merge pull request #947 from c9s/fix/acc-vol-stop
improve: accumulated volume stop method
2022-09-14 12:42:16 +08:00
c9s
1880553a65
bbgo: cumulated volume stop - compare shadow height 2022-09-14 12:32:36 +08:00
c9s
4b04beb729
types: fix kline receiver type 2022-09-14 12:04:19 +08:00
c9s
d022c80727
bbgo: add strict condition for CumulatedVolumeTakeProfit 2022-09-14 12:04:12 +08:00
zenix
aaa657dcc3 fix: move some modify implementation to dynamic 2022-09-14 12:38:22 +09:00
Yo-An Lin
a3034546f4
Merge pull request #945 from narumiruna/feature/marketcap/coinmarketcap
FEATURE: marketcap: get marketcap values from coinmarketcap
2022-09-14 10:58:08 +08:00
Yo-An Lin
cfeb0ba97b
Merge pull request #946 from c9s/fix/telegram-error
bbgo: fix telegram message error, there must be one message to send
2022-09-14 10:57:10 +08:00
zenix
d40b34e4d6 feature: add modify tg command. fix wdrift ma length 2022-09-14 11:08:10 +09:00
c9s
402ac58b53
pivotshort: fix pilotQuantity calculation 2022-09-14 03:10:48 +08:00
c9s
0b9320f7dc
interact: fix telegram message length check 2022-09-14 02:56:47 +08:00
c9s
b855267604
bbgo: wrap keyboard removal in defer func 2022-09-14 02:53:32 +08:00
なるみ
7b218e65e2 remove unused field 2022-09-14 02:51:12 +08:00
c9s
1d1ec12417
bbgo: fix telegram message error, there must be one message to send 2022-09-14 02:51:07 +08:00
なるみ
71ae75df73 fixup! get marketcap values from coinmarketcap 2022-09-14 02:47:12 +08:00
なるみ
e7a7e21b68 remove notifiability 2022-09-14 02:46:23 +08:00
なるみ
9b5f204cbe get marketcap values from coinmarketcap 2022-09-14 02:44:57 +08:00
Yo-An Lin
53059824a6
Merge pull request #944 from c9s/fix/net-asset-calc
fix: fix net asset calculation
2022-09-14 02:39:13 +08:00
c9s
b76d779902
types: add BalanceMap_Assets test case 2022-09-14 02:26:06 +08:00
c9s
b4990f173d
xnav: fix negative usd value check 2022-09-14 02:20:54 +08:00
c9s
02dab542c4
bbgo: add USDTTWD price test case 2022-09-14 02:18:39 +08:00
c9s
c9b064f0ac
types: define PriceMap type 2022-09-14 02:18:39 +08:00