Commit Graph

6977 Commits

Author SHA1 Message Date
c9s
dc0fca09f2
types: rename json fields to grossProfit and grossLoss 2022-09-19 09:28:28 +08:00
c9s
1d1d5d497f
bbgo: init call to updateMarginAssetMaxBorrowable 2022-09-19 09:25:54 +08:00
c9s
8180153e9c
bbgo: use margin asset borrowable amount to adjust the quantity 2022-09-19 09:10:59 +08:00
Yo-An Lin
3230088f9f
Merge pull request #953 from zenixls2/fix/drift
fix: drift minus weight, preloaded kline not enough
2022-09-17 18:15:44 +08:00
Yo-An Lin
39c347f0a0
Merge pull request #950 from c9s/strategy/pivotshort
strategy/pivotshort
2022-09-17 18:14:41 +08:00
Yo-An Lin
02bf82e2f0
Merge pull request #954 from narumiruna/slack-doc
DOC: update slack.md
2022-09-17 18:10:30 +08:00
なるみ
46e9862632
Update slack.md 2022-09-16 19:27:23 +08:00
zenix
7044b0d8ea fix: drift minus weight, preloaded kline not enough 2022-09-16 19:11:36 +09:00
Zenix
44de961ea1
Merge pull request #942 from zenixls2/feature/modifiable
feature: add modify tg command. fix wdrift ma length
2022-09-16 15:23:38 +09:00
c9s
be40ed7410
bbgo: refactor marginAssetUpdater 2022-09-16 12:19:30 +08:00
c9s
d4f74822ad
bbgo/exit_protective_stop_loss: use types.KLineWith 2022-09-16 11:20:39 +08:00
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