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
|
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 |
|
c9s
|
6fb6467d59
|
xmaker: refactor hedge worker and quote worker
|
2024-08-27 14:48:30 +08:00 |
|
c9s
|
e3079c134c
|
xmaker: add todo note
|
2024-08-26 18:37:02 +08:00 |
|
c9s
|
7367ea73b8
|
xmaker: profit object can be nil
|
2024-08-26 18:35:10 +08:00 |
|
c9s
|
77e185ffa7
|
xmaker: add profit fixer
|
2024-08-26 12:45:18 +08:00 |
|
c9s
|
9a1d9ae27b
|
xmaker: rewrite maker order submission logics and integrate metrics
|
2024-08-24 21:22:35 +08:00 |
|
c9s
|
afac81a3e8
|
all: integrate metrics into stream book
|
2024-08-24 21:22:34 +08:00 |
|
c9s
|
0df56ad6e7
|
xmaker: use v2 indicator boll
|
2024-08-24 13:28:32 +08:00 |
|
c9s
|
1c1959b8a8
|
all: rename priceresolver to pricesolver
integrate pricesolver into xmaker
|
2024-08-24 12:28:05 +08:00 |
|
c9s
|
9f01dc28c8
|
xmaker: remove report ticker and
isolate rate limiter for each different instance
|
2024-08-24 12:19:34 +08:00 |
|
c9s
|
e8bd370aa2
|
xmaker: remove duplicated log entry
|
2024-08-24 12:13:44 +08:00 |
|
c9s
|
5ca1c4fb62
|
xmaker: rewrite and clean up order submission
|
2024-08-24 12:13:15 +08:00 |
|
c9s
|
f7dc07327e
|
xmaker: assign position strategy id and instance id
|
2024-08-24 12:01:11 +08:00 |
|
c9s
|
6ef8aa62e5
|
xmaker: integrate CircuitBreaker
|
2024-08-24 11:58:09 +08:00 |
|
c9s
|
14fff8dbad
|
xmaker: integrate circuitbreaker
|
2024-08-24 11:42:16 +08:00 |
|
c9s
|
9f510da78b
|
xmaker: use margin order to hedge positions
|
2024-08-23 16:57:29 +08:00 |
|
c9s
|
e0e9876902
|
improve price hart beat usage
|
2023-12-07 16:18:23 +08:00 |
|
c9s
|
fad8642a59
|
xmaker: fix message
|
2023-07-22 17:34:09 +08:00 |
|
c9s
|
70439f3fd9
|
xmaker: add tradeScanOverlapBufferPeriod time
|
2023-07-22 17:30:24 +08:00 |
|
c9s
|
941067670e
|
xmaker: pull out trade recover go routine
|
2023-07-22 17:29:16 +08:00 |
|
c9s
|
1ad10a9360
|
all: move trade collector to pkg/core
|
2023-07-05 15:26:36 +08:00 |
|
c9s
|
f1828beac8
|
all: move trade store and order store into pkg/core
|
2023-07-04 21:42:24 +08:00 |
|
c9s
|
5515f588e3
|
all: add parameter index to the Last method
|
2023-05-31 19:35:44 +08:00 |
|
c9s
|
f7e76c0518
|
all: remove bbgo.Persistence
|
2022-10-03 18:37:53 +08:00 |
|
c9s
|
59287b5116
|
all: support context isolation
|
2022-10-03 16:01:08 +08:00 |
|
c9s
|
247a22c4fe
|
xmaker: fix profit stats notification
|
2022-09-20 15:09:22 +08:00 |
|
c9s
|
3959e288fd
|
all: refactor standard indicator helper and fix tests
|
2022-07-26 18:35:50 +08:00 |
|
c9s
|
2ef8ecf3d9
|
indicator: clean up bollinger band indicator api usage
|
2022-07-14 14:26:08 +08:00 |
|
c9s
|
c27f416dbc
|
indicator: canonicalize the CalculateAndUpdate method call
also fix the xmaker boll indicator preloading
|
2022-07-14 09:18:42 +08:00 |
|
c9s
|
527070d13d
|
all: rewrite and clean up graceful shutdown api
|
2022-06-30 15:49:18 +08:00 |
|
c9s
|
156219456b
|
all: clean up bbgo.Notifiability
|
2022-06-19 13:05:02 +08:00 |
|
c9s
|
eacd1f1ae6
|
all: rewrite notification api
Signed-off-by: c9s <yoanlin93@gmail.com>
|
2022-06-19 12:29:36 +08:00 |
|
c9s
|
5aa2f8a681
|
xmaker: skip quoting if bb value is zero
|
2022-06-15 01:18:46 +08:00 |
|
c9s
|
5210b97a23
|
xmaker: update klines to boll indicator
|
2022-06-15 01:17:41 +08:00 |
|
c9s
|
b47d103cf8
|
xmaker: pull out band value to fixedpoint
|
2022-06-15 01:13:54 +08:00 |
|
c9s
|
a506a00001
|
xmaker: fix position notify
|
2022-06-13 12:04:35 +08:00 |
|
c9s
|
e575236db8
|
pivotshort: adjust shadow ratio calculation
|
2022-06-10 01:21:59 +08:00 |
|
c9s
|
b209d94a9c
|
rename active order book constructor function
|
2022-06-06 06:57:25 +08:00 |
|
c9s
|
3786fc64f1
|
rename LocalActiveOrderBook to just ActiveOrderBook
|
2022-06-06 05:43:38 +08:00 |
|
c9s
|
1d340256ea
|
fix and simplify LocalActiveOrderBook
|
2022-06-05 18:12:26 +08:00 |
|
c9s
|
6635fd749d
|
xmaker: migrate xmaker persistence
|
2022-05-05 15:05:38 +08:00 |
|
c9s
|
019e6a2a88
|
improve legacy state handling and move fnv
|
2022-05-05 14:39:29 +08:00 |
|
c9s
|
18da434e92
|
all: use thread-safe GetAccount method to get account
|
2022-04-23 15:43:11 +08:00 |
|
zenix
|
77a88aabe4
|
feature: add CancelOrders and CancelOrdersTo to executor
|
2022-03-16 21:38:09 +09:00 |
|
c9s
|
5db4e11167
|
rewrite trade profit handling
|
2022-03-14 21:21:58 +08:00 |
|
c9s
|
197d750cb4
|
all: update profit struct fields
|
2022-03-05 01:39:53 +08:00 |
|
c9s
|
9e0df77a36
|
move profit struct into the types package
|
2022-03-04 16:39:48 +08:00 |
|
c9s
|
0c09e6b32a
|
use global timeInForce type
|
2022-02-18 13:52:13 +08:00 |
|
zenix
|
8648528435
|
fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests
|
2022-02-15 14:55:19 +09:00 |
|
zenix
|
105b085786
|
fix bollgrid, emstop, flashcrash, funding, grid, pricealert, pricedrop, rebalance, schedule, swing, xbalance, xgap, xmaker and speedup fixedpoint
|
2022-02-15 12:01:39 +09:00 |
|
c9s
|
dc6d60216b
|
types: fix order book copy
|
2022-01-13 11:09:50 +08:00 |
|
c9s
|
98247385f9
|
xmaker: use GracefulCancel to cancel active orders
|
2022-01-13 11:01:46 +08:00 |
|
c9s
|
5cc3a88911
|
xmaker: show order book last update time
|
2022-01-12 22:11:28 +08:00 |
|
c9s
|
c3356fa694
|
types: add test for PriceHeartBeat
|
2022-01-12 14:42:11 +08:00 |
|
c9s
|
5755c44845
|
move PriceHeartBeat to types
|
2022-01-12 14:33:55 +08:00 |
|
c9s
|
420e221f5b
|
xmaker: pull out PriceHeartBeat
|
2022-01-12 12:14:51 +08:00 |
|
c9s
|
7195c6ed27
|
xmaker: add price quoting protection
|
2022-01-12 11:55:45 +08:00 |
|
c9s
|
940c675cae
|
xmaker: add rate limit hit alert
|
2022-01-11 22:48:28 +08:00 |
|
c9s
|
081a143ec0
|
xmaker: add DepthQuantity
|
2022-01-11 22:47:40 +08:00 |
|
c9s
|
70dec09f26
|
xmaker: fix minQuantity buffer
|
2022-01-10 23:17:19 +08:00 |
|
c9s
|
3907f99e70
|
xmaker: keep rate reservation token
|
2022-01-10 12:25:13 +08:00 |
|
c9s
|
1b27c4e9c4
|
remove hedge error limiter
|
2022-01-09 23:45:46 +08:00 |
|