Commit Graph

7328 Commits

Author SHA1 Message Date
gx578007
70cf90dc0f
Merge pull request #1233 from c9s/bhwu/grid2/fix-pin
FIX: [grid2] fix upper pin
2023-07-18 16:06:29 +08:00
gx578007
d99aa1f013 FIX: [grid2] fix upper pin 2023-07-18 15:54:23 +08:00
Andy Cheng
e37edb3056
Merge pull request #1198 from andycheng123/feature/profit-tracker
FEATURE: add ProfitStatsTracker
2023-07-18 11:40:26 +08:00
c9s
8f62665cfd
autoborrow: add another skip log 2023-07-18 11:08:34 +08:00
c9s
e6958f44f0
autoborrow: fix log message 2023-07-18 11:04:43 +08:00
c9s
a0145934ec
autoborrow: show min debt ratio in the message 2023-07-18 11:04:03 +08:00
c9s
3144b640ee
autoborrow: update account after repaying the debts 2023-07-18 11:01:21 +08:00
Andy Cheng
1773c8d155
fix/linregmaker: use float64() to output parameters 2023-07-18 11:00:02 +08:00
Andy Cheng
b9734bca0c
fix/linregmaker: missing line 2023-07-18 10:56:42 +08:00
c9s
84ec320601
autoborrow: show debt and total for debt ratio 2023-07-18 10:54:39 +08:00
c9s
844bd8be87
bitget: add account transfers request 2023-07-17 16:38:42 +08:00
Andy Cheng
192d958adc
improve/linregmaker: use strconv 2023-07-17 12:22:09 +08:00
Andy Cheng
08d8519e67
improve/profitStatsTracker: use SMA instead of SMA2 2023-07-17 12:10:48 +08:00
Andy Cheng
e5254e6446
improve/linregmaker: add profit report 2023-07-17 11:45:37 +08:00
Andy Cheng
bc4eae5e39
improve/supertrend: Switch of outputting patameters in profit report 2023-07-17 11:19:10 +08:00
c9s
f8051b3f2b
autoborrow: fix margin warning format 2023-07-14 13:22:42 +08:00
c9s
c7ee7a9496
add marginLevelAlertInterval to the config example 2023-07-14 13:21:40 +08:00
c9s
a9d0242a9d
strategy/autoborrow: add margin level alert 2023-07-14 13:19:54 +08:00
c9s
c2568ab22c
doc: add bitget to the exchange list 2023-07-12 17:44:37 +08:00
c9s
11f9457504
readme: add the built-in strategy table 2023-07-12 17:44:00 +08:00
c9s
b9616a0805
add TradeCollector.Process() log message 2023-07-12 17:16:46 +08:00
c9s
885c58f77e
core/tradecollector: reduce critical section 2023-07-12 16:47:51 +08:00
c9s
baf431d7b6
riskcontrol: log on release position order 2023-07-12 16:17:22 +08:00
c9s
d6ade1f2fd
autoborrow: use context timeout handling 2023-07-12 15:07:51 +08:00
c9s
7781d5c70f
autoborrow: few improvements:
- return debt once and update the account
- add alert slack mentions
2023-07-12 15:01:15 +08:00
c9s
c54031b0e8
Merge pull request #1229 from c9s/c9s/indicator-cci-v2 2023-07-11 14:14:17 +08:00
c9s
b1c1caa6af
tri: load test data from static file 2023-07-11 14:07:07 +08:00
c9s
ce481ba52d
rewrite cci indicator in v2 indicator 2023-07-11 14:07:07 +08:00
c9s
32cd19b852
Merge pull request #1230 from c9s/c9s/indicator-sma-example 2023-07-11 11:17:04 +08:00
Andy Cheng
6b55936e62
Merge branch 'feature/profit-tracker' of github.com:andycheng123/bbgo into feature/profit-tracker
# Conflicts:
#	pkg/report/profit_report.go
2023-07-11 11:15:52 +08:00
Andy Cheng
e161deba25
improve/profitStatsTracker: use SMA v2 2023-07-11 11:13:13 +08:00
Andy Cheng
6e54972304
improve/profitStatsTracker: use CsvFormatter interface 2023-07-11 10:48:29 +08:00
Andy Cheng
1a90cd0322
improve/profitStatsTracker: rename InitOld() to InitLegacy() 2023-07-11 10:48:29 +08:00
Andy Cheng
928a77cb8b
improve/profitStatsTracker: use strconv instead of Sprintf() 2023-07-11 10:48:29 +08:00
Andy Cheng
2a80d708af
ref/profitStatsTracker: TradeCollector is move to core pkg 2023-07-11 10:48:29 +08:00
Andy Cheng
4c1639cf00
fix/profitStatsTracker: market is initiated after strategy Subscribe() 2023-07-11 10:48:28 +08:00
Andy Cheng
2ccce12cbf
improve/profitStatsTracker: temporarily remove lines relate to time in profit stats 2023-07-11 10:48:28 +08:00
Andy Cheng
ae7ae27d82
improve/profitStatsTracker: rename ProfitTracker to ProfitStatsTracker 2023-07-11 10:48:28 +08:00
Andy Cheng
bcbb27de79
improve/profitTracker: subscribe kline in strategy Subscribe() 2023-07-11 10:48:28 +08:00
Andy Cheng
80170e0397
improve/profitTracker: do not bind in order executor 2023-07-11 10:48:28 +08:00
Andy Cheng
bfeb43fc1c
fix/profitTracker: fix typo in config 2023-07-11 10:48:28 +08:00
Andy Cheng
5513330816
feature/profitTracker: fix bugs 2023-07-11 10:48:28 +08:00
Andy Cheng
027acfe3b5
feature/profitTracker: integrate profit report with profit tracker 2023-07-11 10:48:28 +08:00
Andy Cheng
a197352c6e
feature/profitTracker: use profitTracker in Supertrend strategy 2023-07-11 10:48:28 +08:00
Andy Cheng
57cdbb1d77
feature/profitTracker: add AddTrade() 2023-07-11 10:48:28 +08:00
Andy Cheng
d5e194ca80
feature/profitTracker: prototype 2023-07-11 10:48:27 +08:00
Andy Cheng
0cb76c9169
improve/profitStatsTracker: use CsvFormatter interface 2023-07-11 10:38:41 +08:00
c9s
ee9a3269b6
indicator/v2: add SMA example 2023-07-11 10:31:20 +08:00
c9s
66dd5507d1
rename SMA2 to just SMA 2023-07-11 10:31:20 +08:00
Andy Cheng
561c332541
improve/profitStatsTracker: rename InitOld() to InitLegacy() 2023-07-11 10:24:07 +08:00