Commit Graph

101 Commits

Author SHA1 Message Date
c9s
8a50474ad1
all: add context parameter to Sync() 2022-10-03 18:45:24 +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
3959e288fd
all: refactor standard indicator helper and fix tests 2022-07-26 18:35:50 +08:00
c9s
193703a9a0
all: use tradeStats constructor 2022-07-05 11:14:50 +08:00
c9s
527070d13d
all: rewrite and clean up graceful shutdown api 2022-06-30 15:49:18 +08:00
c9s
3112b40634
support: remove unused const 2022-06-22 13:46:03 +08:00
c9s
6ef54bf2fb
call bbgo.Sync to sync persistence 2022-06-22 13:46:03 +08:00
c9s
2a1beddba4
support: fix support strategy stop order update 2022-06-19 17:49:38 +08:00
c9s
f035667f37
support: refactor trailing stop order management 2022-06-19 17:23:10 +08:00
c9s
b6d1b4309b
refactor and update the support strategy 2022-06-19 15:57:59 +08:00
c9s
88a63df186
all: clean up notifiability usage 2022-06-19 13:01:22 +08:00
c9s
eacd1f1ae6
all: rewrite notification api
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-19 12:29:36 +08:00
Andy Cheng
8410b1cc33 interact: update interact test 2022-06-06 17:34:39 +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
13bf5d69a3
use types.Interval instead of string 2022-05-19 10:04:03 +08:00
Andy Cheng
7326a1b21d strategy: fix wrong string formatting syntax 2022-04-26 18:29:22 +08:00
Andy Cheng
7b3e369766 feature: use LocalActiveOrderBook for cancelling open orders for strategy controller in support strategy 2022-04-26 18:29:22 +08:00
Andy Cheng
26a5114182 feature: adapt callbackgen style strategy controller in support strategy 2022-04-26 18:29:22 +08:00
Andy Cheng
cf8603e30b feature: use NewFromFloat 2022-04-26 18:29:22 +08:00
Andy Cheng
324c7ea432 feature: logging with strategy symbol 2022-04-26 18:29:22 +08:00
Andy Cheng
389752161d feature: adapt new strategy controller in support strategy 2022-04-26 18:29:21 +08:00
Andy Cheng
57fdc9b120 feature: adapt new strategy controller in support strategy 2022-04-26 18:29:21 +08:00
c9s
18da434e92 all: use thread-safe GetAccount method to get account 2022-04-23 15:43:11 +08:00
Andy Cheng
854a364b38
strategy: use fixedpoint.Zero instead 2022-04-10 00:03:37 +08:00
Andy Cheng
ceccba43f9
strategy: re-submit trailing stop order if previous one failed 2022-04-08 18:46:41 +08:00
Andy Cheng
d94e8e3826
strategy: check trailing stop order creation success 2022-04-08 18:41:19 +08:00
Andy Cheng
f9052f3397
strategy: fix load CurrentHighestPrice bug 2022-04-08 18:35:02 +08:00
Andy Cheng
75f3e33543
strategy: use stop limit due to sop market unsupported by binance 2022-04-02 21:32:40 +08:00
Andy Cheng
8f4ba971f1
strategy: fix typo 2022-04-02 21:27:52 +08:00
Andy Cheng
c2747ca9e4
strategy: remove TimeInForce when sending trailing stop order 2022-04-02 21:19:47 +08:00
Andy Cheng
861fd84fd4
strategy: use stop market to tp instead of stop limit 2022-03-31 11:10:53 +08:00
Andy Cheng
8782104f1a
strategy: remove unnecessary notification 2022-03-30 16:46:42 +08:00
Andy Cheng
934e4aa69f
strategy: fix wrong support condition 2022-03-29 11:46:01 +08:00
Andy Cheng
fb8b79f38d
interact: rename GetStrategyStatus() to GetStatus() 2022-03-21 16:12:23 +08:00
Andy Cheng
ffd5c646e9
interact: refactor interface func name 2022-03-21 15:08:15 +08:00
Andy Cheng
5f7710103d
type: add StrategyStatus type 2022-03-21 15:01:15 +08:00
Andy Cheng
ce6efd9333
strategy: add EmergencyStop() to support strategy 2022-03-21 11:51:12 +08:00
Andy Cheng
b6aff9674c
strategy: add StrategyController functions to support strategy 2022-03-21 10:20:12 +08:00
zenix
77a88aabe4 feature: add CancelOrders and CancelOrdersTo to executor 2022-03-16 21:38:09 +09:00
Andy Cheng
72a6877094
strategy: add PositionCloser function for support strategy 2022-03-15 19:19:44 +08:00
Andy Cheng
231085d507
strategy: add PositionReader function for support strategy 2022-03-15 16:46:27 +08:00
Andy Cheng
b94096cb2e
strategy: cache orders.IDs() in orderIds 2022-03-15 16:44:43 +08:00
Andy Cheng
822fea44fc
strategy: fix index out of range error 2022-03-14 12:01:17 +08:00
Andy Cheng
ad7605e7b2
strategy: do not submit order if current position < market.MinQuantity 2022-03-14 11:45:24 +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
cdba7924b4 fix backtest panic when cancel fail on the last order 2022-02-15 12:01:39 +09:00
zenix
fad85d0992 fix binance test, outptu for support and xgap strategies 2022-02-15 12:01:39 +09:00