Commit Graph

4027 Commits

Author SHA1 Message Date
c9s
08a1819bd3
fix price in usd 2022-05-04 17:45:28 +08:00
c9s
4404098bf9
fix balance map add 2022-05-04 17:39:35 +08:00
c9s
75adb8f3c3
fix usd prices caculation 2022-05-04 17:27:58 +08:00
c9s
36c764efa9
refactor balance, asset and remove price cache check 2022-05-04 17:17:09 +08:00
c9s
f33e8a3de2
calculate netAsset if it's zero 2022-05-04 17:08:42 +08:00
c9s
1844035abb
fix asset calculation 2022-05-04 16:56:31 +08:00
c9s
c4e1cd9480
binanceapi: add GetForceLiquidationRecordRequest api 2022-05-04 16:27:28 +08:00
c9s
01eb9df860
add strategy template links to the readme 2022-05-04 16:27:28 +08:00
c9s
2008f179a2
binance: add GetDepositHistoryRequest 2022-05-04 16:27:28 +08:00
c9s
ed8ff89f34
binance: add type alias from github.com/adshao/go-binance/v2 2022-05-04 16:27:28 +08:00
c9s
434434c8d9
binanceapi: add withdraw request 2022-05-04 16:27:28 +08:00
c9s
0fd560d699
binance: add NewGetDepositAddressRequest api 2022-05-04 16:27:28 +08:00
c9s
c3c1666154
binance: add get deposit address request 2022-05-04 16:27:28 +08:00
Yo-An Lin
8cf9218dce
Merge pull request #584 from c9s/add-nav-columns
feature: record nav values into db
2022-05-04 16:25:04 +08:00
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
Yo-An Lin
4e9c197d82
Merge pull request #587 from chechiachang/feature/add-grpc-port-config-in-helm-charts
feature: add grpc port and config in helm chart
2022-05-04 15:37:32 +08:00
chechia
f323047353 feature: add grpc port and config in helm chart 2022-05-04 14:59:13 +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
Yo-An Lin
406681b5fa
Update README.md 2022-05-04 13:49:49 +08:00
なるみ
96061a6041
Merge pull request #586 from chechiachang/feature/enable-grpc-in-helm-chart
add grpc value in helm chart
2022-05-04 13:26:41 +08:00
chechia
c750d7a352 add grpc value in helm chart 2022-05-04 12:57:30 +08:00
なるみ
ccc7e25f46
Merge pull request #585 from narumiruna/test-boll
indicator: add test case for boll
2022-05-04 00:39:33 +08:00
c9s
5a00e2fe20
add account service test 2022-05-03 23:36:44 +08:00
なるみ
aa29fde9e3 indicator: add test case for boll 2022-05-03 22:28:40 +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
Yo-An Lin
463c6ee01f
Merge pull request #583 from c9s/move-frontend-doc
doc: add frontend development setup doc
2022-05-03 18:03:36 +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
Yo-An Lin
9c08bea065
Fix accounts field 2022-05-03 17:32:10 +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