Commit Graph

55 Commits

Author SHA1 Message Date
e2f33b2d8a [update] 哈希25a2203000fc98575eb9dd35a9f591fe5c220160 2024-09-13 00:01:39 +08:00
eddcaecc92 [update] 新增模拟交易参数 2024-09-12 23:54:49 +08:00
c9s
6bd4b3a2f2 bump version to v1.60.2 2024-09-12 23:43:53 +08:00
c9s
8b376de473 types/stream: change errorf to warnf 2024-09-12 23:43:13 +08:00
c9s
f584fd10be upgrade github.com/c9s/requestgen to 1.4.3 2024-09-12 23:43:11 +08:00
c9s
6e17416226 max: regenerate order cancel requests 2024-09-12 23:41:02 +08:00
kbearXD
2c1e84ee5a FEATURE: [dca2] set exchange fee rate for round position 2024-09-12 23:38:02 +08:00
edwin
8ff9199776 pkg/exchange: update to latest 2024-09-12 23:37:56 +08:00
c9s
a6f364f6ae xmaker: refactor and clean up tryArbitrage 2024-09-12 23:35:37 +08:00
c9s
3c4e3c0979 xmaker: calculate balance for arbitrage 2024-09-12 23:35:37 +08:00
c9s
6f391c7a1f xmaker: fix sides 2024-09-12 23:35:37 +08:00
c9s
0eb6808ad4 xmaker: implement tryArbitrage 2024-09-12 23:35:37 +08:00
kbearXD
80a2bf9d82 MINOR: [session] remove environment nil validation log 2024-09-12 23:34:56 +08:00
kbearXD
2cd1de3e24 FIX: add debug log 2024-09-12 23:34:47 +08:00
c9s
131d4b3d26 xmaker: pull out s.UseDepthPrice dependency 2024-09-12 23:34:47 +08:00
c9s
4d3af3a6bc xmaker: pull out getLayerPrice and add test against the method 2024-09-12 23:34:44 +08:00
c9s
0e4f7b366a testhelper: add more test helpers 2024-09-12 23:33:35 +08:00
c9s
1d71e5c80a xmaker: refactor getInitialLayerQuantity for quantity multiplier 2024-09-12 23:33:35 +08:00
c9s
bb525c72f7 xmaker: add EnableArbitrage option and makerBook 2024-09-12 23:33:35 +08:00
c9s
47480602fd xmaker: add sourceDepthLevel option 2024-09-12 23:33:35 +08:00
c9s
53f9d523b0 bbgo: fix the defaults / initialize steps 2024-09-12 23:33:23 +08:00
kbearXD
a30ac3d900 FIX: fix memory leak 2024-09-12 23:33:18 +08:00
longhutianjie
d34e8a1a18 bug: fix json tag 2024-09-12 23:33:13 +08:00
c9s
d56155c6e1 xmaker: rename to aggTradeVolume 2024-09-12 23:33:07 +08:00
c9s
744ab2ebbe xmaker: call signalConfig.TradeVolumeWindowSignal.Bind 2024-09-12 23:33:07 +08:00
c9s
d8153361ff xmaker: add TradeVolumeWindowSignal 2024-09-12 23:33:07 +08:00
c9s
cb9f4a0186 max: convert v3 DepositStateFailed into rejected 2024-09-12 23:33:07 +08:00
c9s
4b74a699f4 max: add v3 DepositStateFailed state 2024-09-12 23:33:07 +08:00
c9s
0129b8d99a max: drop unused function 2024-09-12 23:33:07 +08:00
c9s
38ad0f4c90 bump version to v1.60.1 2024-09-12 23:33:06 +08:00
c9s
029906bb2f max: use error log instead of warning log for convertion 2024-09-12 23:32:52 +08:00
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
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
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