Commit Graph

7938 Commits

Author SHA1 Message Date
c9s
6c29e10caf
binance: improve binary error check 2022-04-26 16:43:40 +08:00
zenix
b3741771e3 fix: window update in indicators. add: cumulative average, triangular moving average 2022-04-26 17:32:31 +09:00
c9s
109fdd6511
aggregate totalBorrowed 2022-04-26 16:13:07 +08:00
c9s
2933db20cd
types: show borrowed balance 2022-04-26 16:07:27 +08:00
c9s
cbec4ac199
binance: improve query trades conditions for start time and end time 2022-04-26 15:58:12 +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
Zenix
a8f0c71a53
Merge pull request #545 from zenixls2/feature/ma_series
feature: add some new ma indicators
2022-04-25 21:01:17 +09: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
095f25f30b
fix TestSortTradesAscending 2022-04-25 19:01:03 +08:00
c9s
2732fb413f
bbgo: remove slack debug option 2022-04-25 18:56:19 +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
f8fd13c576
add test for TestSortTradesAscending 2022-04-25 17:53:04 +08:00
c9s
a2553ee020
autoborrow: call check and borrow 2022-04-25 17:45:16 +08:00
c9s
78639dab5a
improve order layout 2022-04-25 17:27:27 +08:00
c9s
a57a238e09
bbgo: add more sync options 2022-04-25 17:18:42 +08:00
c9s
76012f0b71
max: deposit request currency field is optional 2022-04-25 16:27:07 +08:00
c9s
fae3b6a215
fix BOLL method 2022-04-25 15:31:12 +08:00
Yo-An Lin
b94b9e1b73
Merge pull request #437 from jessy1092/enhance-boll-indicator
indicator: Support difference bandwidth on boll indicator and can dynamic create BOLL
2022-04-25 13:43:02 +08:00
Yo-An Lin
a663a891bf
Merge pull request #559 from c9s/feature/binance-margin-api
feature: autoborrow strategy
2022-04-25 13:38:35 +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
fd247cf7d7 cmd: add autoborrow to built-in 2022-04-23 15:00:53 +08:00
c9s
c70317af2b add autoborrow strategy 2022-04-23 15:00:04 +08:00
Yo-An Lin
c3cc34d770
Merge pull request #555 from c9s/feature/binance-margin-api
feature: binance margin api integration
2022-04-23 14:58:43 +08:00
なるみ
36ff360cfc
Merge pull request #557 from narumiruna/fix-attribute
python: fix attribute, modify annotations and add test cases
2022-04-23 14:57:29 +08:00
c9s
cf055c3f7d bbgo: improve account updating 2022-04-23 12:51:07 +08:00
c9s
9e48a850bd bbgo: call queryAccount to update account 2022-04-23 12:51:07 +08:00
c9s
a1c9bd7ec8 all: add AccountTypeIsolatedMargin 2022-04-23 12:51:07 +08:00
c9s
98a696a7d0 all: calculate MarginTolerance 2022-04-23 12:51:07 +08:00
c9s
76733898db binance: add QueryMarginAssetMaxBorrowable api 2022-04-23 12:51:07 +08:00
c9s
9f9f13dfe2 add MarginBorrowRepay interface 2022-04-23 12:51:07 +08:00
c9s
37b5d80f6f add margin repay and borrow api 2022-04-23 12:51:07 +08:00
c9s
c2d1ef0fc8 add margin borrow endpoint 2022-04-23 12:51:07 +08:00
c9s
a8fdd8006c binance: add transferCrossMarginAccount method 2022-04-23 12:51:07 +08:00
c9s
ecc19e1efd binance: assign more margin fields to account 2022-04-23 12:51:07 +08:00
c9s
cf2e8c9f0a all: extend balance field for margin 2022-04-23 12:51:07 +08:00
c9s
fbe1906e70 binance: add more fields to the balance struct 2022-04-23 12:51:07 +08:00
c9s
304cc89f68 binance: always sort trades back 2022-04-23 12:51:07 +08:00
c9s
2f5f02523f fix typpo 2022-04-23 00:10:27 +08:00
なるみ
fc8fff0fe4 python: fix attribute 2022-04-22 21:32:04 +08:00
なるみ
e240361494 python: test convert utils 2022-04-22 21:32:04 +08:00
なるみ
ca39ae2db7 python: modify annotations 2022-04-22 21:29:23 +08:00
zenix
3d86330428 fix: python test code in indicator 2022-04-22 19:11:07 +09:00