Commit Graph

4007 Commits

Author SHA1 Message Date
c9s
b3ae4929be
bbgo: make the max borrowing error message clear 2022-09-19 14:56:13 +08:00
c9s
7ef008dc4f
telegramnotifier: show error message in the telegram log 2022-09-19 14:55:58 +08:00
c9s
1c23881da9
bbgo: check closing flag to avoid double closing 2022-09-19 13:23:23 +08:00
c9s
05defc3aad
bbgo: fix base amount borrow check 2022-09-19 13:12:49 +08:00
c9s
d4398bbbf9
bbgo: add more simple slice types to FilterSimpleArgs 2022-09-19 13:07:56 +08:00
c9s
e48ae215e5
bbgo: remove Notifiability from the order executor 2022-09-19 09:51:48 +08:00
c9s
850f3c86ba
types: fix net asset value display in telegram 2022-09-19 09:45:18 +08:00
c9s
59b1e52439
bbgo: remove submitOrder notification 2022-09-19 09:38:57 +08:00
c9s
f9f2df29e7
types: use passed time to reset today pnl 2022-09-19 09:33:18 +08:00
c9s
26cf048c84
types: preset fixedpoint zero fields 2022-09-19 09:31:04 +08:00
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
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
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
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
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
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
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
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