austin362667
|
4f99110d2b
|
stratgy: add oneliner
|
2022-09-20 10:32:57 +08:00 |
|
Yo-An Lin
|
29376defa3
|
Merge pull request #958 from c9s/strategy/pivotshort
WIP: strategy/pivotshort: more improvements
|
2022-09-19 17:27:31 +08:00 |
|
c9s
|
1c58a44e44
|
binance: implement get margin max borrowable request
|
2022-09-19 17:09:34 +08:00 |
|
c9s
|
d73880d0a8
|
binance: upgrade github.com/adshao/go-binance/v2 to v2.3.8
|
2022-09-19 17:02:50 +08:00 |
|
c9s
|
c8f5bf8b08
|
bbgo: check e.session.Margin flag
|
2022-09-19 16:00:12 +08:00 |
|
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 |
|
Yo-An Lin
|
cddc70fb0d
|
Merge pull request #957 from c9s/fix/submit-order-notify
bbgo: remove submitOrder notification
|
2022-09-19 14:23:38 +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 |
|
Yo-An Lin
|
8e8979645d
|
Merge pull request #956 from c9s/improve/max-borrowable
improve: bbgo: use margin asset borrowable amount to adjust the quantity
|
2022-09-19 09:47:23 +08:00 |
|
c9s
|
850f3c86ba
|
types: fix net asset value display in telegram
|
2022-09-19 09:45:18 +08:00 |
|
c9s
|
d7711867b2
|
types: fix net asset value display in telegram
|
2022-09-19 09:44:26 +08:00 |
|
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 |
|