c9s
|
956ad10683
|
xmaker: stores calculated signal in lastAggregatedSignal
|
2024-10-09 12:35:06 +08:00 |
|
c9s
|
e70899a35d
|
xmaker: add more xmaker metrics and profiles
|
2024-10-09 12:35:06 +08:00 |
|
c9s
|
544c172a9c
|
xmaker: improve fee price updating
|
2024-10-07 17:12:49 +08:00 |
|
c9s
|
2599a4bcd3
|
xmaker: add SubscribeFeeTokenMarkets option
|
2024-10-07 17:09:01 +08:00 |
|
c9s
|
969e813c7f
|
xmaker: fix profit fixer fee settings
|
2024-10-07 17:09:01 +08:00 |
|
c9s
|
2cdd9072c2
|
Merge pull request #1766 from c9s/c9s/refactor/account-value-calc
REFACTOR: refactor account value calculator with price solver
|
2024-10-07 17:08:49 +08:00 |
|
c9s
|
a0cdfc2b8e
|
xmaker: fix aggregatePriceVolumeSliceWithPriceFilter
Go / build (1.21, 6.2) (push) Has been cancelled
golang-lint / lint (push) Has been cancelled
|
2024-10-06 12:18:03 +08:00 |
|
c9s
|
7506fb63a8
|
refactor account value calculator
|
2024-10-05 14:22:13 +08:00 |
|
c9s
|
6079e7b06a
|
all: refactor NewAccountValueCalculator
|
2024-10-05 13:09:31 +08:00 |
|
c9s
|
5e7627cc7a
|
xmaker: fix signal depth metrics
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run
|
2024-10-01 16:52:58 +08:00 |
|
c9s
|
3c48663032
|
add more tests
|
2024-09-30 17:32:46 +08:00 |
|
c9s
|
39fad2e0b5
|
xmaker: add depth ratio signal
|
2024-09-30 16:21:22 +08:00 |
|
c9s
|
be353c533b
|
xmaker: bind price solver with market data stream
|
2024-09-27 18:43:09 +08:00 |
|
c9s
|
61ea41d999
|
xdepthmaker: simplify hedge
|
2024-09-23 22:16:53 +08:00 |
|
c9s
|
26b1fd2ae7
|
xmaker: fix price initialization
|
2024-09-16 00:29:37 +08:00 |
|
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 |
|