Commit Graph

77 Commits

Author SHA1 Message Date
c9s
5bd806e03e deposit2transfer: fix comments 2024-09-12 23:32:52 +08:00
c9s
38e7f4f98f max: fix v3 deposit state conversion 2024-09-12 23:32:52 +08:00
c9s
0b572aa967 bbgo: add stringer method to the quota struct 2024-09-12 23:32:52 +08:00
c9s
b99f49c8b8 xmaker: fix MaxExposurePosition check condition 2024-09-12 23:32:52 +08:00
Lan Phan
af777c335b update timeInForce for binance margin order 2024-09-12 23:32:52 +08:00
c9s
ca847047ac bbgo: add comments to the quota methods 2024-09-12 23:32:52 +08:00
c9s
cee99956ff xmaker: add more logs 2024-09-12 23:32:52 +08:00
c9s
ae6de98a8e xmaker: update position metrics when restored 2024-09-12 23:32:52 +08:00
c9s
a83f378913 add more logs 2024-09-12 23:32:51 +08:00
c9s
23b1c350d6 Merge pull request #1725 from c9s/c9s/xmaker/stb-improvements
IMPROVE: [xmaker] improve hedge margin account leverage calculation
2024-09-12 23:32:48 +08:00
dependabot[bot]
fa7bc7fb1d dep: bump morphy2k/revive-action from 2.5.9 to 2.5.10
Bumps [morphy2k/revive-action](https://github.com/morphy2k/revive-action) from 2.5.9 to 2.5.10.
- [Release notes](https://github.com/morphy2k/revive-action/releases)
- [Commits](https://github.com/morphy2k/revive-action/compare/v2.5.9...v2.5.10)

---
updated-dependencies:
- dependency-name: morphy2k/revive-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-12 23:32:31 +08:00
c9s
1ff783bf5a xmaker: reuse makerMarket field 2024-09-12 23:31:59 +08:00
c9s
bb33c956b0 xmaker: add more logs 2024-09-12 23:31:59 +08:00
c9s
ffc490aab5 xmaker: add MaxHedgeAccountLeverage option 2024-09-12 23:31:59 +08:00
c9s
ec6cbe0f18 xmaker: separate maximumValueInUsd in a new var 2024-09-12 23:31:59 +08:00
c9s
ace8466acb xmaker: calculate maximum leveraged account value 2024-09-12 23:31:59 +08:00
c9s
f864974efe xmaker: improve hedge account credit calculation 2024-09-12 23:31:59 +08:00
dropbigfish
5821639460 fix: fix slice init length
Signed-off-by: dropbigfish <fillfish@foxmail.com>
2024-09-12 23:31:59 +08:00
c9s
27372c496e fix math import 2024-09-12 23:31:21 +08:00
eff75239cc [add] 新增roll和bolladxema策略 2024-09-12 22:47:58 +08:00
021aa5542c [add] 新增合约止盈订单类型 2024-09-01 20:38:14 +08:00
76a133a6b4 [add] 新增NR和CCI指标 2024-08-31 16:47:20 +08:00
c9s
9f5b2c470f fix math import 2024-08-31 14:09:22 +08:00
c9s
ac75767a11 xmaker: apply math.Abs on signal for margin scale 2024-08-31 14:09:06 +08:00
ae47d3d3b7 [add] 新增币安的代理 2024-08-30 23:10:58 +08:00
8f98cf650e [add] 添加lark通知 2024-08-30 23:03:08 +08:00
89562094b7 初始化仓库,b87213827e08344908cdd718039f3120d047b44e 2024-08-30 22:55:17 +08:00