c9s
|
5800eab165
|
bbgo: remove submitOrder notification
|
2022-09-19 09:40:52 +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 |
|
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 |
|
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 |
|
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
|
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 |
|
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 |
|
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 |
|
c9s
|
613b23eab5
|
pivotshort: add FastWindow parameter
|
2022-09-13 13:09:11 +08:00 |
|
c9s
|
e171932f07
|
pivotshort: fix fast high filtering
|
2022-09-13 11:57:38 +08:00 |
|
c9s
|
8d4eb611f3
|
bbgo: add more open position doc comments
|
2022-09-12 23:48:40 +08:00 |
|
c9s
|
68d40de62c
|
pivotshort/failedbreakhigh: call OpenPosition method
|
2022-09-12 23:38:27 +08:00 |
|
c9s
|
b22a48cb8a
|
pivotshort: fix fast low pivot filtering
|
2022-09-12 23:32:53 +08:00 |
|
c9s
|
ba85e7e5ff
|
pivotshort: add fastWindow parameter
|
2022-09-12 23:26:40 +08:00 |
|
c9s
|
776f89b2f2
|
pivotshort: apply OpenPositionOptions to breakLow
|
2022-09-12 23:24:37 +08:00 |
|
c9s
|
04f7b96c6a
|
pivotshort: add fast pivot high filtering
|
2022-09-12 23:13:31 +08:00 |
|
c9s
|
e23ed8c783
|
pivotshort: add fastpivot
|
2022-09-12 23:13:31 +08:00 |
|
Yo-An Lin
|
4b78ba112f
|
Merge pull request #939 from c9s/fix/rate-limit-adjustment
binance: add queryTrades rate limiter
|
2022-09-12 15:11:53 +08:00 |
|
c9s
|
a5ba870cd8
|
binance: add queryTrades rate limiter
|
2022-09-12 15:03:01 +08:00 |
|
c9s
|
424a1dec3f
|
bbgo: add lightweight mode
|
2022-09-12 14:24:18 +08:00 |
|
c9s
|
f729937527
|
bump version to v1.40.4
|
2022-09-12 00:43:53 +08:00 |
|
Yo-An Lin
|
2214920b37
|
Merge pull request #935 from c9s/fix/open-position
bbgo: add price check and add max leverage for cross margin
|
2022-09-12 00:42:12 +08:00 |
|
Yo-An Lin
|
4ea723d1d8
|
Merge pull request #937 from c9s/feature/telegram-error-log-hook
notifier: redirect error, panic, fatal error to telegram
|
2022-09-12 00:39:12 +08:00 |
|
Yo-An Lin
|
8462054d58
|
Merge pull request #936 from COLDTURNIP/fix/bollmaker_dyn_spread_setting_backward_compatibility
bollmaker: fix settings overriding
|
2022-09-12 00:38:58 +08:00 |
|
Yo-An Lin
|
5db41f4be2
|
Merge pull request #934 from c9s/fix/pnl-position
pnl: fix nil position point issue
|
2022-09-12 00:32:17 +08:00 |
|
c9s
|
b8e18dd75c
|
notifier: redirect error, panic, fatal error to telegram
|
2022-09-12 00:29:12 +08:00 |
|
Raphanus Lo
|
8286356d3b
|
bollmaker: fix settings overriding
|
2022-09-12 00:27:11 +08:00 |
|
c9s
|
20dd37c1e2
|
slacknotifier: drop unused code
|
2022-09-12 00:17:00 +08:00 |
|
c9s
|
caf57010a6
|
bbgo: move up base balance variable
|
2022-09-12 00:13:49 +08:00 |
|
c9s
|
53c4178ae2
|
bbgo: fix reverse pair price lookup and add tests
|
2022-09-12 00:05:22 +08:00 |
|
c9s
|
3b1725014b
|
bbgo: fix account value calculation for mixed usd fiat
|
2022-09-11 23:51:24 +08:00 |
|
c9s
|
307c5f2a8d
|
bbgo: add price check and add max leverage for cross margin
|
2022-09-11 23:26:48 +08:00 |
|
c9s
|
4617245cbf
|
pnl: fix nil position point issue
|
2022-09-11 23:18:54 +08:00 |
|
Raphanus Lo
|
cf16176f5e
|
bollmaker: fix backward compatibility of dynamic spread settings
|
2022-09-11 20:58:13 +08:00 |
|
c9s
|
aebc6f7fb8
|
bump version to v1.40.3
|
2022-09-11 18:02:42 +08:00 |
|
c9s
|
db94b2690a
|
bbgo: check base balance only for long position
|
2022-09-11 17:49:24 +08:00 |
|
c9s
|
7b68e5ee27
|
bbgo: fix balance lock issue
|
2022-09-11 17:46:23 +08:00 |
|
c9s
|
a425c940fa
|
bollmaker: add trendEMA support
|
2022-09-11 17:28:54 +08:00 |
|
c9s
|
080b4dea95
|
bollmaker: add doc file for bollmaker
|
2022-09-11 16:56:05 +08:00 |
|
Yo-An Lin
|
3c4bad6124
|
Merge pull request #930 from andycheng123/fix/pivotshort-trendema
Fix: Pivotshort
|
2022-09-11 16:53:02 +08:00 |
|
Yo-An Lin
|
e0d3a5ec95
|
Merge pull request #929 from frin1/supertrend-draw-pnl
feature: strategy/supertrend: draw pnl on
|
2022-09-11 16:52:46 +08:00 |
|
Fredrik
|
386ab1f6f3
|
refactor draw on supertrend
|
2022-09-11 09:48:08 +02:00 |
|
Fredrik
|
3a188aa66a
|
rename variables
|
2022-09-11 08:44:59 +02:00 |
|