c9s
|
5c0e3a1254
|
bollmaker: add shadow protection config
|
2022-01-16 04:40:50 +08:00 |
|
c9s
|
a68ad20ddc
|
bollmaker: add shadow protection
|
2022-01-16 04:06:19 +08:00 |
|
c9s
|
1e370ff244
|
bollmaker: collect trades before we shutdown
|
2022-01-16 01:27:28 +08:00 |
|
c9s
|
898204f5fa
|
bollmaker: adjust quantity to met the min notional condition before we submit
|
2022-01-16 01:15:34 +08:00 |
|
c9s
|
fd4a3bb000
|
bollmaker: remove unused cancelOrders function
|
2022-01-16 01:08:50 +08:00 |
|
austin362667
|
904e7c03ad
|
strategy: cleanup funding strategy
strategy: cleanup funding strategy
|
2022-01-15 08:28:02 +08:00 |
|
austin362667
|
d0e26c66e4
|
strategy: add funding strategy
|
2022-01-15 08:28:02 +08:00 |
|
c9s
|
93722e6db3
|
implement position closer interaction
|
2022-01-15 02:52:46 +08:00 |
|
c9s
|
317d8e9d49
|
xgap: add minSpread option
|
2022-01-14 12:49:46 +08:00 |
|
Yo-An Lin
|
e797e597b1
|
Merge pull request #435 from jessy1092/fix/correct-bollmaker-params
fix: Correct uptrendSkew and downtrendSkew parameters setting on bollmaker strategy
|
2022-01-14 12:18:18 +08:00 |
|
c9s
|
eef14fa950
|
xgap: add jitter
|
2022-01-14 12:03:29 +08:00 |
|
c9s
|
1f6076ae18
|
plus a quantity jitter
|
2022-01-14 11:59:40 +08:00 |
|
Lee
|
965fc6989d
|
fix: Correct uptrendSkew and downtrendSkew parameters setting on bollmaker strategy
|
2022-01-13 23:06:23 +08: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
|
b26141ac1f
|
support: set default s.triggerEMA
|
2022-01-10 13:51:14 +08:00 |
|
c9s
|
b56e988fc9
|
support: fix triggerEMA check
|
2022-01-10 13:49:36 +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 |
|
c9s
|
9ca4e23aaf
|
add strategy documentation
|
2022-01-09 22:43:49 +08:00 |
|
c9s
|
bba4e86fdf
|
bollmaker: adjust default skew parameter
|
2022-01-09 22:37:27 +08:00 |
|
c9s
|
b98777afe4
|
bollmaker: pull out skew options
|
2022-01-09 22:32:23 +08:00 |
|
c9s
|
d94cc2df31
|
bbgo: add recover callbacks to trace collector
|
2022-01-09 15:39:59 +08:00 |
|
c9s
|
6ce8edba7d
|
xmaker: add error rate limiter
|
2022-01-09 11:33:34 +08:00 |
|
c9s
|
471a1b2baa
|
xmaker: adjust minimal quantity and minimal notional threshold
|
2022-01-09 10:18:31 +08:00 |
|
c9s
|
cd340bd596
|
bollmaker: check s.MaxExposurePosition
|
2022-01-09 03:03:54 +08:00 |
|
c9s
|
0cec652f38
|
bollmaker: skip submitOrder calls if submitOrders is empty
|
2022-01-09 02:35:12 +08:00 |
|
c9s
|
656ef942e4
|
bollmaker: add disable short option
|
2022-01-09 02:24:10 +08:00 |
|
c9s
|
4df5847647
|
bollmaker: add quantity scaling for closing position
|
2022-01-09 01:57:51 +08:00 |
|
c9s
|
4cdb5b607b
|
rename bollpp to bollmaker
|
2022-01-09 01:20:47 +08:00 |
|
c9s
|
7e2acdc416
|
all: add lock protected GetBase method for Position
|
2022-01-09 00:35:45 +08:00 |
|
c9s
|
9b92c8948d
|
xmaker: fix quantity truncation and add check for min quantity n min notional
|
2022-01-09 00:30:18 +08:00 |
|
c9s
|
cb189d885c
|
fix backtest for limit maker order and bollpp strategy
|
2022-01-08 02:18:44 +08:00 |
|
c9s
|
f4ebae17bb
|
xmaker: when recover the trade, notify
|
2022-01-07 13:13:57 +08:00 |
|
c9s
|
a49d001c29
|
xmaker: add trade scanner
|
2022-01-07 01:03:12 +08:00 |
|
c9s
|
41574a2390
|
xmaker: use millisecond jitter from the util package
|
2022-01-07 00:14:24 +08:00 |
|
c9s
|
259771b0b0
|
all: pull out the graceful cancel process to the local active book
|
2022-01-07 00:10:40 +08:00 |
|
c9s
|
1d5406ef21
|
xmaker: always update maker market
|
2022-01-06 23:27:06 +08:00 |
|
c9s
|
c8bf85f4e2
|
xmaker: improve pips
|
2022-01-05 11:34:07 +08:00 |
|
c9s
|
e997220321
|
xmaker: fix ask pips
|
2022-01-05 11:32:56 +08:00 |
|
c9s
|
6ff24e713e
|
xmaker: fix notification format
|
2022-01-01 01:34:48 +08:00 |
|
c9s
|
6055f90680
|
xmaker: add cover and uncover logs
|
2021-12-31 15:26:51 +08:00 |
|
c9s
|
1116fc1de1
|
session: print klines only when debug-kline is enabled
|
2021-12-31 15:13:26 +08:00 |
|
c9s
|
899e8d2d58
|
Revert "xmaker: fix s.state.CoveredPosition.AtomicAdd add"
This reverts commit 5999dc1151 .
|
2021-12-31 14:23:02 +08:00 |
|
c9s
|
5999dc1151
|
xmaker: fix s.state.CoveredPosition.AtomicAdd add
|
2021-12-31 02:00:39 +08:00 |
|
c9s
|
aaa52ecea4
|
xmaker: remove unsued localTimeZone var
|
2021-12-31 01:53:30 +08:00 |
|
c9s
|
f78a7d37a2
|
xgap: subscribe 1m kline
|
2021-12-28 02:14:49 +08:00 |
|
c9s
|
8f4ae1e15b
|
xgap: check balance and adjust order quantity according to the available balance
|
2021-12-28 02:11:11 +08:00 |
|
c9s
|
958dd97f52
|
xgap: add SimulateVolume
|
2021-12-28 01:48:24 +08:00 |
|
c9s
|
1fa03cdfd6
|
xmaker: add back profit function
|
2021-12-27 02:59:55 +08:00 |
|
c9s
|
f7c39290a0
|
call tradeCollector process to check trades
|
2021-12-27 00:51:57 +08:00 |
|
c9s
|
dcdf33e2c9
|
xmaker: pull out notifyTrade to a single callback
|
2021-12-27 00:12:35 +08:00 |
|
c9s
|
65da02af2c
|
xmaker: call TruncateQuantity when the quantity is adjusted
|
2021-12-26 15:45:39 +08:00 |
|
c9s
|
902e27ede4
|
xmaker: truncate quantity when hedging
|
2021-12-26 15:44:41 +08:00 |
|
c9s
|
05a0745d08
|
fix InitExchange for publicOnly session
|
2021-12-26 15:29:42 +08:00 |
|
c9s
|
30a7ca1ce1
|
rename gap to xgap
|
2021-12-26 15:13:51 +08:00 |
|
c9s
|
1c54e59d55
|
xmaker: fix trade handling
|
2021-12-26 12:10:10 +08:00 |
|
なるみ
|
4a8be9cc1a
|
Fix log
|
2021-12-22 02:04:44 +08:00 |
|
なるみ
|
2999e41ef0
|
Validate config
|
2021-12-22 01:59:38 +08:00 |
|
なるみ
|
41d4001872
|
Add log
|
2021-12-22 01:59:25 +08:00 |
|
Yo-An Lin
|
1ab20e6397
|
Merge pull request #381 from narumiruna/maxamount
strategy: rebalance: adjust quantity by max amount
|
2021-12-21 20:20:44 +08:00 |
|
なるみ
|
531805a449
|
Adjust quantity by max amount
|
2021-12-20 23:46:22 +08:00 |
|
Andy Cheng
|
e4bdb1de06
|
strategy: allow setting the interval and the window for trigger MA
|
2021-12-19 18:28:47 +08:00 |
|
Andy Cheng
|
d281182432
|
strategy: fix support strategy criteria
|
2021-12-19 17:53:34 +08:00 |
|
Yo-An Lin
|
d531e041dd
|
Merge pull request #357 from narumiruna/rebalance
feature: add portfolio rebalancing strategy
|
2021-12-14 12:01:07 +08:00 |
|
なるみ
|
f320d78f2f
|
Refactor
|
2021-12-14 02:18:08 +08:00 |
|
なるみ
|
f494a0f514
|
Initial commit of rebalance strategy
|
2021-12-13 05:19:44 +08:00 |
|
austin362667
|
1703fff8b2
|
types: refactor Position and related files
|
2021-12-11 19:16:16 +08:00 |
|
c9s
|
ca85aa69e6
|
pull out global premium index type and funding rate type
|
2021-12-09 00:10:18 +08:00 |
|
c9s
|
1de4e5ee4c
|
grid: fix parameter checking for fixed amount
|
2021-12-07 15:37:37 +08:00 |
|
c9s
|
85bb9f214e
|
grid: disable trade marking
|
2021-12-06 01:34:08 +08:00 |
|
TonyQ
|
056afb577c
|
fix generateGridSellOrders with ProfitSpread for begining
|
2021-11-30 11:55:00 +08:00 |
|
c9s
|
513a799ced
|
fix ewma calculation
|
2021-11-22 02:14:44 +08:00 |
|
c9s
|
7a3963b34e
|
techsignal: if it's already high funding rate, do not show change
|
2021-11-06 15:23:52 +08:00 |
|
c9s
|
0c8addc58b
|
grid: refactor trade callback for s.TradeService.Mark
|
2021-11-05 01:05:43 +08:00 |
|
c9s
|
6851d8d254
|
grid: add field guards
|
2021-11-05 01:04:13 +08:00 |
|
c9s
|
7db7596abe
|
grid: refactor trade handler with trade collector
|
2021-11-05 00:30:04 +08:00 |
|
c9s
|
7787edffa0
|
refactor grid strategy state loading/saving
|
2021-11-05 00:22:44 +08:00 |
|
c9s
|
bfaec8fdd8
|
increase min amount if it's not greater than min notional
|
2021-11-04 23:22:01 +08:00 |
|
c9s
|
6002a958d2
|
grid: fix format error
|
2021-11-04 13:08:38 +08:00 |
|
c9s
|
7eb91cc7cc
|
adjust grid quantity if it does not match min notional and min quantity
|
2021-11-04 12:50:32 +08:00 |
|
c9s
|
ed1d0ea27e
|
add xnav strategy
|
2021-10-29 10:40:14 +08:00 |
|
c9s
|
6cb593cd90
|
techsignal: use realtime funding rate
|
2021-10-20 14:01:19 +08:00 |
|
c9s
|
1e6692ec8d
|
rename funding rate query method name
|
2021-10-19 15:29:55 +08:00 |
|
c9s
|
af602df302
|
techsignal: add math.Round for quote volumes
|
2021-10-18 20:06:23 +08:00 |
|
c9s
|
3a68d9dae4
|
techsignal: fix arg cast
|
2021-10-18 19:40:51 +08:00 |
|
c9s
|
721d63bee0
|
techsignal: add skip log
|
2021-10-18 11:10:54 +08:00 |
|
c9s
|
ebc61de946
|
techsignal: fix ma subscription
|
2021-10-18 09:00:56 +08:00 |
|
c9s
|
d446dbbed7
|
bollpp: send profit stat notification
|
2021-10-18 01:16:46 +08:00 |
|
c9s
|
d6b707c832
|
bollpp: fix order quantity
|
2021-10-18 00:56:22 +08:00 |
|
c9s
|
0bd32094ee
|
bollpp: improve bolling ping pong maker
|
2021-10-18 00:42:01 +08:00 |
|
c9s
|
759b6a812b
|
techsignal: fix funding rate diff
|
2021-10-17 22:26:04 +08:00 |
|