Commit Graph

4273 Commits

Author SHA1 Message Date
Yo-An Lin
278eb937ac
Merge pull request #593 from narumiruna/simplify-request
glassnode: simplify NewAuthenticatedRequest
2022-05-06 22:11:30 +08:00
Yo-An Lin
02b22afd72
Merge pull request #597 from andycheng123/improve/bollmaker-control
strategy: Update bollmaker to support new strategy controller
2022-05-06 17:50:49 +08:00
Andy Cheng
c9ba81fcbb strategy: Update bollmaker to support new strategy controller 2022-05-06 16:52:00 +08:00
c9s
10e31d63d7
fix binance referral link 2022-05-06 11:56:00 +08:00
Yo-An Lin
c3c35c2240
Merge pull request #575 from c9s/feature/binance-margin-load-api
feature: binance: add get deposit address request
2022-05-06 11:53:50 +08:00
Yo-An Lin
948cf7a1c4
Merge pull request #596 from c9s/improve-persistence-api
improve persistence api
2022-05-05 18:52:48 +08:00
c9s
82c7c024ce
bbgo: add persistence Sync api 2022-05-05 18:18:38 +08:00
c9s
f3691489dd
add state key as the prefix 2022-05-05 18:18:38 +08:00
c9s
17928986b8
remove persistence redis setting from bollmaker 2022-05-05 17:53:24 +08:00
c9s
6635fd749d
xmaker: migrate xmaker persistence 2022-05-05 15:05:38 +08:00
c9s
10a7928580
extract NewProfitStats method 2022-05-05 14:48:50 +08:00
c9s
c3db85443e
bollmaker: add Deprecated note 2022-05-05 14:47:06 +08:00
c9s
3140b7e2ef
bollmaker: remove unnecessary log 2022-05-05 14:41:11 +08:00
c9s
019e6a2a88
improve legacy state handling and move fnv 2022-05-05 14:39:29 +08:00
c9s
7378c63cb7
cmd: call SaveState and LoadState for normal run 2022-05-05 14:28:42 +08:00
c9s
57c43936d6
ignore service.ErrPersistenceNotExists error 2022-05-05 14:04:44 +08:00
c9s
57a9647401
add more test case and simplify return stmt 2022-05-05 13:16:46 +08:00
c9s
4cf1f0a91a
add func type StructFieldIterator 2022-05-05 13:06:02 +08:00
c9s
30c85d2969
pull out callID method call 2022-05-05 13:05:01 +08:00
c9s
21f81dec29
implement reflect-based persistence restore and load 2022-05-05 12:53:48 +08:00
なるみ
98a35a485f glassnode: use requestgen.BaseAPIClient 2022-05-05 11:05:27 +08:00
c9s
18eab1fbd3
move graceful shutdown to a single file 2022-05-05 09:56:21 +08:00
c9s
58e8da914e
bollmaker: migrating state.position to strategy.position 2022-05-05 09:54:50 +08:00
c9s
918cb7842a
chmod changelog script 2022-05-05 09:04:16 +08:00
c9s
6b036d8ca6
add v1.32.0 release note 2022-05-05 09:04:04 +08:00
c9s
3f734e6236
bump version to v1.32.0 2022-05-05 09:04:04 +08:00
c9s
ad6d5b98ba
update command doc files 2022-05-05 09:04:04 +08:00
なるみ
9c66930537 glassnode: simplify NewAuthenticatedRequest 2022-05-05 01:39:57 +08:00
c9s
4358b1236c
fix env key generation 2022-05-05 01:33:52 +08:00
c9s
4aed6c4625
add bollmaker setup script 2022-05-05 01:03:29 +08:00
Yo-An Lin
233acc13ef
Merge pull request #590 from c9s/fix-net-asset
fix: fix net asset field
2022-05-04 21:48:30 +08:00
c9s
f65ecbdbb5
max: add net asset field to max's balance 2022-05-04 21:43:59 +08:00
c9s
2a02c4928c
move balance test 2022-05-04 21:40:16 +08:00
c9s
8ec47a4aaa
add interest field to Asset 2022-05-04 21:38:18 +08:00
c9s
e903bd5f69
add Balance.Add method 2022-05-04 21:33:22 +08:00
Yo-An Lin
826bf47156
Merge pull request #589 from c9s/fix-net-asset
fix: use net asset to calculate inUSD
2022-05-04 19:35:57 +08:00
c9s
d5b203a925
render borrowed in the attachment 2022-05-04 19:32:29 +08:00
c9s
573f8bb221
use net asset to calculate inUSD 2022-05-04 19:26:26 +08:00
Yo-An Lin
bfb61c3129
Merge pull request #588 from c9s/fix-net-asset
fix: add interest and fix net asset column
2022-05-04 19:17:15 +08:00
c9s
ef419f75ab
net asset should sub interest 2022-05-04 19:13:55 +08:00
c9s
5dd969fa6f
compile and update migration package 2022-05-04 19:13:55 +08:00
c9s
30c9d251fe
change column to net_asset_in_* to avoid confusion 2022-05-04 19:13:55 +08:00
c9s
f196cc9ccd
change balance_in_usd and balance_in_btc to signed 2022-05-04 19:05:45 +08:00
c9s
bb9a787575
add interest and fix net asset column 2022-05-04 18:58:32 +08:00
c9s
5662c5c680
use findUSDMarketPrice to get btc price 2022-05-04 17:56:03 +08:00
c9s
413c5c0479
add comment for the price cal 2022-05-04 17:47:34 +08:00
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