Commit Graph

5311 Commits

Author SHA1 Message Date
c9s
afc5dbb951
Merge remote-tracking branch 'origin/v1.50' 2023-07-24 17:02:08 +08:00
c9s
c42ad19955
Merge pull request #1241 from c9s/c9s/max-add-fee-discounted-field
FEATURE: [max] add fee discounted field support
2023-07-24 16:58:40 +08:00
c9s
c114477340
Merge pull request #1242 from c9s/c9s/fix-max-withdrawal-api
FIX: [max] fix MAX withdrawal address parameter name
2023-07-24 16:58:21 +08:00
bailantaotao
06a741e615
Merge pull request #1237 from bailantaotao/edwin/add-new-exchange-account-api
FEATURE: add new exchange Bybit GetAccountInfo/GetInstrumentsInfo api
2023-07-24 16:58:12 +08:00
Edwin
ac5e2cf712 pkg, types: add bybit to factor and update readme 2023-07-24 15:51:44 +08:00
Edwin
b45fdea99a pkg/exchange: add get account info and instruments info api for bybit 2023-07-24 15:51:41 +08:00
c9s
16c62bbcba
maxapi: fix max withdrawal api 2023-07-24 15:28:11 +08:00
c9s
9c20215f41
max: use fixedpoint.Value for field parsing 2023-07-24 15:00:03 +08:00
c9s
5f2ead4ffd
maxapi: parse fd field and optimize trade snapshot parsing 2023-07-24 14:57:50 +08:00
c9s
3bd821261f
tri: fix lint issue 2023-07-22 18:06:53 +08:00
c9s
2abd84aec9
core: pull out RecoverTrade method 2023-07-22 17:57:02 +08:00
c9s
fad8642a59
xmaker: fix message 2023-07-22 17:34:09 +08:00
c9s
c13a5cdf6e
core: add recover logs for the recovered trade count 2023-07-22 17:32:24 +08:00
c9s
70439f3fd9
xmaker: add tradeScanOverlapBufferPeriod time 2023-07-22 17:30:24 +08:00
c9s
941067670e
xmaker: pull out trade recover go routine 2023-07-22 17:29:16 +08:00
c9s
df1067d309
grid2: simplify removeDuplicatedPins 2023-07-22 11:45:30 +08:00
c9s
461735e043
grid2: add remove duplicated pins and pull out filter price prec func 2023-07-22 11:36:04 +08:00
c9s
b250bf94bc
rsicross: add more conditions to rsicross 2023-07-22 11:23:09 +08:00
c9s
a45c241b9b
types: turn off network error log 2023-07-20 17:05:53 +08:00
c9s
a3c16a4117
bbgo: use backoff for graceful cancel 2023-07-20 12:45:23 +08:00
c9s
f1a105cc06
fix iterate test 2023-07-20 12:45:23 +08:00
c9s
1dae711d33
fix trade collector race condition and infinite iterate 2023-07-20 12:45:23 +08:00
c9s
93d10eba5a
autoborrow: improve logging details 2023-07-19 16:58:51 +08:00
gx578007
bded2edaf2
FIX: [grid2] fix upper pin 2023-07-18 16:07:55 +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
a9d0242a9d
strategy/autoborrow: add margin level alert 2023-07-14 13:19:54 +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
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