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 |
|
なるみ
|
9b5f204cbe
|
get marketcap values from coinmarketcap
|
2022-09-14 02:44:57 +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 |
|
c9s
|
809294b054
|
bbgo: add test case for calculateNetValueInQuote
|
2022-09-14 02:18:39 +08:00 |
|
c9s
|
7617679651
|
pivotshort: add EarlyStopRatio config
|
2022-09-14 02:18:39 +08:00 |
|
c9s
|
fe9a546c65
|
pivotshort: improve notification
|
2022-09-14 02:18:39 +08:00 |
|
c9s
|
f0ea9a357a
|
pivotshort: add one more kline price compare condition
|
2022-09-14 02:18:39 +08:00 |
|
なるみ
|
0a07a70415
|
Merge pull request #943 from narumiruna/fix/marketcap-market-error
FIX: fix market error
|
2022-09-13 23:45:41 +08:00 |
|
なるみ
|
9af58b07ec
|
fix market error
|
2022-09-13 23:35:29 +08:00 |
|