c9s
|
34ef50d889
|
xmaker: refactor and clean up tryArbitrage
|
2024-09-09 22:03:06 +08:00 |
|
c9s
|
52925c5643
|
xmaker: calculate balance for arbitrage
|
2024-09-09 18:12:46 +08:00 |
|
c9s
|
b4f2748892
|
xmaker: fix sides
|
2024-09-09 18:03:03 +08:00 |
|
c9s
|
ceda1e06b9
|
xmaker: implement tryArbitrage
|
2024-09-09 17:49:53 +08:00 |
|
c9s
|
90749f4873
|
xmaker: pull out s.UseDepthPrice dependency
|
2024-09-09 15:04:56 +08:00 |
|
c9s
|
77dfe213e5
|
xmaker: pull out getLayerPrice and add test against the method
|
2024-09-09 14:41:41 +08:00 |
|
c9s
|
f24a96c8c3
|
xmaker: refactor getInitialLayerQuantity for quantity multiplier
|
2024-09-07 14:19:07 +08:00 |
|
c9s
|
6ad16b7488
|
xmaker: add EnableArbitrage option and makerBook
|
2024-09-07 13:47:34 +08:00 |
|
c9s
|
e14f09a914
|
xmaker: add sourceDepthLevel option
|
2024-09-06 21:47:43 +08:00 |
|
c9s
|
9fc3a1b44a
|
xmaker: rename to aggTradeVolume
|
2024-09-04 16:09:58 +08:00 |
|
c9s
|
656112de45
|
xmaker: call signalConfig.TradeVolumeWindowSignal.Bind
|
2024-09-04 16:07:28 +08:00 |
|
c9s
|
ba73eeaad1
|
xmaker: add TradeVolumeWindowSignal
|
2024-09-04 15:59:21 +08:00 |
|
c9s
|
7135895006
|
xmaker: fix MaxExposurePosition check condition
|
2024-09-03 03:25:37 +08:00 |
|
c9s
|
f12ba1adb9
|
bbgo: add comments to the quota methods
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run
|
2024-09-02 22:18:13 +08:00 |
|
c9s
|
294e529a98
|
xmaker: add more logs
|
2024-09-02 16:08:51 +08:00 |
|
c9s
|
f30aca1b5a
|
xmaker: update position metrics when restored
|
2024-09-02 15:51:31 +08:00 |
|
c9s
|
f9b9832fff
|
add more logs
|
2024-09-02 15:51:31 +08:00 |
|
c9s
|
4d1c357c3d
|
xmaker: reuse makerMarket field
|
2024-09-01 17:55:00 +08:00 |
|
c9s
|
a4833524cf
|
xmaker: add more logs
|
2024-09-01 16:41:16 +08:00 |
|
c9s
|
ed073264f1
|
xmaker: add MaxHedgeAccountLeverage option
|
2024-09-01 15:42:36 +08:00 |
|
c9s
|
ad6056834e
|
xmaker: separate maximumValueInUsd in a new var
|
2024-09-01 01:34:25 +08:00 |
|
c9s
|
8b1306a6a6
|
xmaker: calculate maximum leveraged account value
|
2024-09-01 01:31:50 +08:00 |
|
c9s
|
d85da78e17
|
xmaker: improve hedge account credit calculation
|
2024-09-01 00:58:50 +08:00 |
|
c9s
|
cff7103ece
|
fix math import
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled
|
2024-08-30 22:41:13 +08:00 |
|
c9s
|
d501e8ff4d
|
xmaker: apply math.Abs on signal for margin scale
|
2024-08-30 22:38:59 +08:00 |
|
c9s
|
ec80cbfd9f
|
xmaker: check 0.0
|
2024-08-30 17:52:28 +08:00 |
|
c9s
|
7c4b3e81df
|
xmaker: add more logs
|
2024-08-30 17:42:20 +08:00 |
|
c9s
|
cc820d3df0
|
xmaker: apply margin from signal
|
2024-08-30 17:39:25 +08:00 |
|
c9s
|
371db8e7d1
|
xmaker: update signal conditions to metrics
|
2024-08-30 17:18:29 +08:00 |
|
c9s
|
b8abc065de
|
xmaker: initialize bollinger band signal
|
2024-08-30 17:15:12 +08:00 |
|
c9s
|
9ebab4f4f7
|
xmaker: add signal providers
|
2024-08-30 15:44:55 +08:00 |
|
c9s
|
d9fb9ff3e0
|
xmaker: remove unused var
|
2024-08-29 13:18:50 +08:00 |
|
c9s
|
86e464b1bc
|
xmaker: when submitting hedge orders, do not add it to the active orderbook
|
2024-08-29 00:33:04 +08:00 |
|
c9s
|
8de0c67503
|
xmaker: fix aggregatePrice function
|
2024-08-28 22:36:44 +08:00 |
|
c9s
|
e187614179
|
xmaker: log best bid and best ask
|
2024-08-28 22:32:56 +08:00 |
|
c9s
|
d36bbe5fb5
|
xmaker: adjust accountUpdater's ticker to 3 min
|
2024-08-28 16:41:50 +08:00 |
|
c9s
|
77b7b29739
|
xmaker: adjust credit buffer algo
|
2024-08-28 16:37:39 +08:00 |
|
c9s
|
1d6282a10b
|
xmaker: add account updater and handle margin account to add more flexibility
|
2024-08-28 16:07:11 +08:00 |
|
c9s
|
108fb6138a
|
xmaker: check hedge balance only when it's spot account
|
2024-08-28 14:48:38 +08:00 |
|
c9s
|
1e2f086643
|
xmaker: set notional var back
|
2024-08-27 22:45:43 +08:00 |
|
c9s
|
6011fd5157
|
xmaker: set profitChanged only when Hedge is called
|
2024-08-27 22:45:11 +08:00 |
|
c9s
|
9939b5ce68
|
xmaker: improve bid/ask pricing when UseDepthPrice and DepthQuantity are on
|
2024-08-27 20:05:46 +08:00 |
|
c9s
|
a740ef10c2
|
xmaker: add price checker and field logger
|
2024-08-27 20:05:45 +08:00 |
|
c9s
|
f81ce5ce95
|
xmaker: improve bollinger band trend detection
|
2024-08-27 20:05:45 +08:00 |
|
c9s
|
4ae8ad77b3
|
xmaker: add profit changed flag for notification
|
2024-08-27 20:05:45 +08:00 |
|
c9s
|
3819feacf3
|
xmaker: improve dust quantity check
|
2024-08-27 20:05:45 +08:00 |
|
c9s
|
3d4ccd1344
|
xmaker: integrate bid/ask margin metrics
|
2024-08-27 15:39:38 +08:00 |
|
c9s
|
b3c8739983
|
xmaker: add config bid/ask margin metrics
|
2024-08-27 15:35:39 +08:00 |
|
c9s
|
7e65aca62e
|
xmaker: add more config metrics
|
2024-08-27 15:22:06 +08:00 |
|
c9s
|
199b86df86
|
xmaker: add comments
|
2024-08-27 14:52:27 +08:00 |
|