c9s
|
702ce5220b
|
autoborrow: improve debtRatio repay
|
2022-08-25 11:05:31 +08:00 |
|
c9s
|
5a4d71b073
|
strategy/autoborrow: fix reBalanceDebt check
|
2022-08-19 18:56:25 +08:00 |
|
c9s
|
4622f9f34e
|
autoborrow: add more verbose logs
|
2022-08-19 16:10:13 +08:00 |
|
c9s
|
94e2e28edd
|
strategy/autoborrow: add debt re-balancing
|
2022-08-17 16:45:10 +08:00 |
|
c9s
|
549e28079b
|
autoborrow: call Debt() for repay
|
2022-07-26 11:49:04 +08:00 |
|
c9s
|
29fc58cb18
|
autoborrow: fix repay amount
|
2022-07-18 19:14:31 +08:00 |
|
c9s
|
cecb278aa1
|
autoborrow: use info logger for the margin level info
|
2022-07-13 13:34:59 +08:00 |
|
c9s
|
28d9aa6820
|
autoborrow: show margin level when check
|
2022-07-11 16:26:25 +08:00 |
|
c9s
|
3f15df4c0e
|
autoborrow: fix repay balance check
|
2022-07-11 16:22:21 +08:00 |
|
c9s
|
98aaa6ce43
|
autoborrow: fix repay mech
|
2022-07-11 16:20:45 +08:00 |
|
c9s
|
156219456b
|
all: clean up bbgo.Notifiability
|
2022-06-19 13:05:02 +08:00 |
|
c9s
|
eacd1f1ae6
|
all: rewrite notification api
Signed-off-by: c9s <yoanlin93@gmail.com>
|
2022-06-19 12:29:36 +08:00 |
|
c9s
|
d7c8b0b127
|
autoborrow: render balance map as SlackAttachment
|
2022-06-02 19:50:39 +08:00 |
|
c9s
|
f87a0ab316
|
autoborrow: add json tags
|
2022-06-02 01:53:22 +08:00 |
|
c9s
|
34e1b642d1
|
autoborrow: add exchange name to the margin action struct
|
2022-06-02 01:51:03 +08:00 |
|
c9s
|
4f842c521a
|
fix log message
|
2022-06-02 01:47:55 +08:00 |
|
c9s
|
78f9c7d569
|
improve autoborrow checks
|
2022-06-02 01:27:04 +08:00 |
|
c9s
|
f29e8bd6d2
|
service: use reflect to generate insert sql
|
2022-05-30 18:08:54 +08:00 |
|
c9s
|
16227cea2f
|
autoborrow: call tryToRepayAnyDebt when margin level is low
|
2022-04-26 15:44:13 +08:00 |
|
c9s
|
b97588f153
|
autoborrow: fix max total borrow condition
|
2022-04-26 15:33:01 +08:00 |
|
c9s
|
069db1d0cb
|
replace margin ratio with margin level
|
2022-04-25 19:15:47 +08:00 |
|
c9s
|
333378a52a
|
autoborrow: change debugf to infof
|
2022-04-25 19:10:22 +08:00 |
|
c9s
|
7b2398ce39
|
autoborrow: use margin level instead of margin ratio
|
2022-04-25 19:05:16 +08:00 |
|
c9s
|
638d839975
|
autoborrow: add more logs and warning color for slack message
|
2022-04-25 18:46:23 +08:00 |
|
c9s
|
a30aac6653
|
autoborrow: add slack notification
|
2022-04-25 18:12:08 +08:00 |
|
c9s
|
2290d132b1
|
autoborrow: assign s.ExchangeSession
|
2022-04-25 17:54:16 +08:00 |
|
c9s
|
a2553ee020
|
autoborrow: call check and borrow
|
2022-04-25 17:45:16 +08:00 |
|
c9s
|
18da434e92
|
all: use thread-safe GetAccount method to get account
|
2022-04-23 15:43:11 +08:00 |
|
c9s
|
5c2274c55c
|
put sign check back
|
2022-04-23 15:27:28 +08:00 |
|
c9s
|
7b66d36f15
|
autoborrow: remove extra sign check
|
2022-04-23 15:27:28 +08:00 |
|
c9s
|
743ad0455f
|
add autoborrow strategy
|
2022-04-23 15:27:28 +08:00 |
|
c9s
|
c70317af2b
|
add autoborrow strategy
|
2022-04-23 15:00:04 +08:00 |
|