Commit Graph

3853 Commits

Author SHA1 Message Date
c9s
450517d159
bbgo: do not write trade when writing position 2022-05-04 16:21:53 +08:00
c9s
0e417f6f71
xnav: rename assets to allAssets 2022-05-04 16:21:53 +08:00
c9s
ee621e6d4a
add xnav config 2022-05-04 16:21:53 +08:00
c9s
0061a5910b
use the same price time 2022-05-04 16:21:53 +08:00
c9s
754d10c3d0
use interval instead of duration 2022-05-04 16:21:53 +08:00
c9s
d78e0c607a
xnav: pass session to the record assets method call 2022-05-04 16:21:53 +08:00
c9s
6ed6f15b75
interact: use debug log instead of info 2022-05-04 16:21:53 +08:00
c9s
40c2de3259
fix: remove zeroed fields 2022-05-04 16:21:53 +08:00
c9s
8a93f0921f
add more margin info columns 2022-05-04 14:40:52 +08:00
c9s
01273f7c4c
compile and update migration package 2022-05-04 14:40:52 +08:00
c9s
9333d063ec
update migration sql 2022-05-04 14:40:52 +08:00
c9s
5cd7e61006
xnav: support asset recording 2022-05-04 14:23:46 +08:00
c9s
95f7d85183
bbgo: pass price time into the asset conversion function 2022-05-04 14:23:46 +08:00
c9s
3b25db31df
types: extend balance map methods 2022-05-04 14:22:51 +08:00
c9s
5a00e2fe20
add account service test 2022-05-03 23:36:44 +08:00
c9s
2c70509ee8
add recordAsset method 2022-05-03 19:26:52 +08:00
c9s
c26cee4bc2
add session name column 2022-05-03 19:26:41 +08:00
c9s
d93fd3cc48
service: insert asset fields 2022-05-03 17:51:47 +08:00
c9s
2fba2c335b
types: check borrowed fields 2022-05-03 17:44:31 +08:00
c9s
e0086a45cb
update asset borrowed, netAsset, priceInUSD fields 2022-05-03 17:40:57 +08:00
c9s
e1dcc7c6d3
types: extend asset struct fields 2022-05-03 16:54:39 +08:00
c9s
5a1d77a68c
add sqlite migration tests 2022-05-03 16:49:01 +08:00
c9s
2371438bde
add rockhopper command for test 2022-05-03 16:48:03 +08:00
c9s
9b5ba3780c
setup mysql 2022-05-03 16:48:03 +08:00
c9s
c869bac166
github: add one more step to install migration tool 2022-05-03 16:48:02 +08:00
c9s
816f05cd88
migrations: add margin info columns to nav table 2022-05-03 16:48:02 +08:00
c9s
b00c9f0c0d
add backtest.sessions key 2022-05-03 16:46:58 +08:00
c9s
c9c16f1e47
show missing exchange name in the back-test config 2022-05-03 16:46:38 +08:00
c9s
e30c288e7e
update back-testing doc 2022-05-03 16:45:04 +08:00
Yo-An Lin
9689ec079d
Merge pull request #581 from c9s/add-sync-exchange-option
feature: add --sync-exchange option to override backtest sync exchanges
2022-05-03 12:55:44 +08:00
c9s
2c6fd8eb6a
update release process doc 2022-05-03 12:44:03 +08:00
c9s
694375ca32
add v1.31.4 release note 2022-05-03 12:43:28 +08:00
c9s
270d82e818
bump version to v1.31.4 2022-05-03 12:43:28 +08:00
c9s
59522754b5
update command doc files 2022-05-03 12:43:28 +08:00
Yo-An Lin
159c972d8b
Merge pull request #582 from c9s/rename-backtest-account-to-accounts
improve: backtest: rename backtest.account to backtest.accounts
2022-05-03 12:41:32 +08:00
Yo-An Lin
81ce9218b5
Merge pull request #580 from c9s/fix/okex-rate-limit
fix: fix okex rate limit
2022-05-03 12:40:46 +08:00
Yo-An Lin
de692c6aff
Merge pull request #579 from c9s/fix/kucoin-rate-limit
fix: fix kucoin rate limit
2022-05-03 12:40:35 +08:00
c9s
946bbdbca3
backtest: rename backtest.account to backtest.accounts 2022-05-03 12:18:40 +08:00
c9s
f2edd24029
add --sync-exchange option to override backtest sync exchanges 2022-05-03 12:12:39 +08:00
c9s
eb10889d35
okex: fix okex rate limit 2022-05-03 12:11:50 +08:00
c9s
b611a42bd9
kucoin: fix kucoin rate limit 2022-05-03 12:11:02 +08:00
c9s
d742aea633
okex: fix kline query 2022-05-03 11:14:53 +08:00
c9s
f22327eb75
add v1.31.3 release note 2022-05-02 11:56:23 +08:00
c9s
351426ecdd
bump version to v1.31.3 2022-05-02 11:56:23 +08:00
c9s
fa2eb87268
fix: sync can be nil 2022-05-02 11:55:40 +08:00
c9s
0b39bec589
add v1.31.2 release note 2022-05-02 10:40:21 +08:00
c9s
9875b52372
bump version to v1.31.2 2022-05-02 10:40:21 +08:00
c9s
cf22b30850
update command doc files 2022-05-02 10:40:21 +08:00
c9s
2bdcf2266d
fix default sync logic 2022-05-02 10:39:59 +08:00
Yo-An Lin
faccc64377
Merge pull request #576 from zenixls2/update/ewoDgtrd
feature: add atr stoploss on ewoDgtrd strategy
2022-05-01 01:42:00 +08:00