zenix
|
77a88aabe4
|
feature: add CancelOrders and CancelOrdersTo to executor
|
2022-03-16 21:38:09 +09:00 |
|
c9s
|
fdf64fd891
|
bbgo: fix emit trade profit
|
2022-03-15 14:29:15 +08:00 |
|
c9s
|
19f01bbca6
|
add doc comment
|
2022-03-14 21:21:58 +08:00 |
|
c9s
|
5567ef5676
|
fix emit trade
|
2022-03-14 21:21:58 +08:00 |
|
c9s
|
5db4e11167
|
rewrite trade profit handling
|
2022-03-14 21:21:58 +08:00 |
|
c9s
|
6fec30d79c
|
call record position on trade
|
2022-03-14 21:21:58 +08:00 |
|
c9s
|
322f31a56a
|
bbgo: improve RecordPosition method
|
2022-03-14 21:21:58 +08:00 |
|
c9s
|
5732555c2c
|
doc: update sync configuration doc
|
2022-03-14 21:21:58 +08:00 |
|
c9s
|
08ae53ba16
|
bbgo: assign strategy instance id fields automatically
|
2022-03-14 21:21:58 +08:00 |
|
c9s
|
6088f7b542
|
bbgo: add RecordPosition method
|
2022-03-14 21:21:58 +08:00 |
|
c9s
|
9faaed6892
|
bbgo: initialize position service
|
2022-03-14 21:21:58 +08:00 |
|
c9s
|
b1559bcbe3
|
fix persistence injection
|
2022-03-14 21:21:43 +08:00 |
|
Yo-An Lin
|
bfdf4c245f
|
Merge pull request #460 from zenixls2/feature/backtest_multiple_exchange
feature: add multiple exchange support in backtest
|
2022-03-07 14:28:20 +08:00 |
|
zenix
|
39572c5fe0
|
fix: remove maker/buyer/taker/sellerCommission
|
2022-03-07 14:32:00 +09:00 |
|
zenix
|
25b5eddc03
|
feature: add multiple exchange support in backtest
fix: change doc, since --exchange removed from backtest
fix: test for config changes
|
2022-03-07 13:18:56 +09:00 |
|
c9s
|
917684aa27
|
bbgo: inject environment object
|
2022-03-06 18:28:40 +08:00 |
|
c9s
|
099d860c5a
|
fix: fix Test_parseStructAndInject test
|
2022-03-06 18:28:40 +08:00 |
|
c9s
|
b1ba5386b3
|
fix bbgo.Notifiability injection
|
2022-03-06 16:09:15 +08:00 |
|
c9s
|
f6ec2e78e6
|
record profits
|
2022-03-06 15:37:41 +08:00 |
|
c9s
|
3a15738fec
|
pull out default persistence selector
|
2022-03-06 14:06:19 +08:00 |
|
c9s
|
35b0d8dc0d
|
bbgo: add profit service to environment
|
2022-03-05 13:40:20 +08:00 |
|
c9s
|
1f1c26a9e5
|
bbgo: inject more service objects
|
2022-03-05 13:37:27 +08:00 |
|
c9s
|
c1ac738ca0
|
bbgo: add doc comment for parseStructAndInject
|
2022-03-05 12:59:47 +08:00 |
|
c9s
|
bdcae5b763
|
bbgo: add more injection types
|
2022-03-05 12:49:53 +08:00 |
|
c9s
|
47023729ec
|
bbgo: rewrite field injection
|
2022-03-05 12:39:39 +08:00 |
|
c9s
|
a6053e0e59
|
bbgo: move inject function to injection.go
|
2022-03-05 03:20:20 +08:00 |
|
c9s
|
cd6b37ac3b
|
bbgo: skip unexported fields for injection
|
2022-03-05 03:19:45 +08:00 |
|
c9s
|
fa7bab2c3a
|
bbgo: improve dynamic injection
|
2022-03-05 02:51:43 +08:00 |
|
c9s
|
db4d8a31bc
|
bbgo: implement parseStructAndInject
|
2022-03-05 02:33:25 +08:00 |
|
c9s
|
9e0df77a36
|
move profit struct into the types package
|
2022-03-04 16:39:48 +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
|
5315378b9e
|
fix takerfeerate column and makerfeerate column issue in yaml
|
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 |
|
zenix
|
05521a98b6
|
add skeleton strategy. fix most of the tests. fix final asset value
|
2022-02-15 12:01:39 +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 |
|
zenix
|
d9450e823e
|
fix all the fixedpoint use other than strategy
|
2022-02-15 12:01:39 +09:00 |
|
zenix
|
b8bf2af14d
|
fixedpoint for exchange and indicators, some fixes in types
|
2022-02-15 12:01:38 +09:00 |
|
zenix
|
e221f54397
|
add dnum as the fixedpoint implementation. change types float64 to fixedpoint.Value
change pnl report to use fixedpoint
fix: migrate kline to use fixedpoint
|
2022-02-15 12:00:39 +09:00 |
|
Andy Cheng
|
66b042fea7
|
strategy: trailing stop TP for support strategy
|
2022-02-06 17:47:11 +08:00 |
|
c9s
|
f96c2e6271
|
bbgo: add activated flag on trailing stop order
|
2022-02-01 00:41:28 +08:00 |
|
c9s
|
bed03dbd17
|
schedule: refactor and improve schedule strategy with QuantityOrAmount struct
|
2022-01-31 01:42:21 +08:00 |
|
c9s
|
11bbdb16a0
|
bollmaker: clean up empty files
|
2022-01-31 01:31:31 +08:00 |
|
c9s
|
0e7f88e3bf
|
move SmartStops into the bbgo package
|
2022-01-31 01:27:47 +08:00 |
|
c9s
|
67bc5d523a
|
bollmaker: refactor trailing stop snippet
|
2022-01-31 00:44:04 +08:00 |
|
c9s
|
0667c138ab
|
backtest: fix duplicate trade emit issue
|
2022-01-30 03:05:19 +08:00 |
|
c9s
|
2255f3ed0a
|
bollmaker: check dust order for stop
|
2022-01-29 17:44:42 +08:00 |
|
c9s
|
99af5d3971
|
bollmaker: implement TrailingStopController
|
2022-01-29 02:22:20 +08:00 |
|
c9s
|
547f4c400a
|
cmd: call BindSync when running strategy
|
2022-01-27 18:19:25 +08:00 |
|
c9s
|
3b630c0bca
|
bbgo: pull out writer closure
|
2022-01-27 18:13:15 +08:00 |
|
c9s
|
cb507edf44
|
bbgo: add BindSync method on environment
|
2022-01-27 18:12:15 +08:00 |
|