Commit Graph

212 Commits

Author SHA1 Message Date
c9s
8dca24e9ee
all: solve cyclic import 2022-09-09 17:40:17 +08:00
Larry Lu
269529afa4
Fix typo 2022-09-04 13:35:01 +08:00
c9s
c86b29e6dc
all: resolve import cycle 2022-08-23 02:12:26 +08:00
zenix
a5039de6aa feature: add omega ratio, print sharpe/omega/interval profit from trade_stats, use stdev for high/low diff for drift to estimate the variance and improve profit, add yaml marshal for dnum fixedpoint 2022-07-26 18:00:05 +09:00
c9s
808ba2fc02
bbgo: make slack-app-token optional 2022-07-19 11:41:49 +08:00
c9s
19d8013f49
bbgo: optimize order cancel for back-testing 2022-06-21 01:12:16 +08:00
c9s
58c819bd75
bbgo: pull out PersistenceServiceFacade to singleton 2022-06-21 01:05:13 +08:00
c9s
eacd1f1ae6
all: rewrite notification api
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-19 12:29:36 +08:00
Yo-An Lin
24fc5c2baf
Merge pull request #736 from zenixls2/feature/lint_fmt_check
fix: gosimple alert
2022-06-18 02:48:47 +08:00
c9s
ac404b20a5
make default sync simple 2022-06-18 01:42:24 +08:00
zenix
a5ffca7fe8 fix: gosimple alert 2022-06-17 20:19:51 +09:00
zenix
ba1342cbc3 feature: add pre-commit 2022-06-17 16:07:00 +09:00
zenix
55fa4cc8f1 fix: apply gofmt on all files, add revive action 2022-06-17 16:06:59 +09:00
c9s
b1873aa19b
support specifying session in sync symbol 2022-06-14 13:02:36 +08:00
c9s
28666d4e98
fix profit pointer check 2022-06-13 10:33:28 +08:00
c9s
f3a7428b48
add stringer method for deposit struct 2022-06-08 17:32:42 +08:00
c9s
1f927d5162
use the same time object for 'now' 2022-06-08 14:37:03 +08:00
c9s
09912b3fc3
environment: avoid setting UTC on time object 2022-06-08 14:36:26 +08:00
c9s
fb5fc02bdf
fix since time field check 2022-06-08 12:54:48 +08:00
c9s
9083881442
refactor exchange factory and solve the incorrect pkg import dependency from ftx 2022-06-04 11:47:55 +08:00
zenix
5faab1d55c fix: change from local timezone to UTC when do syncing 2022-06-02 17:12:17 +09:00
c9s
5d98674ab5
fix withdraw sync and improve withdraw string format 2022-06-02 13:56:24 +08:00
c9s
cf19ed6f26
refactor environment sync method 2022-06-01 19:40:29 +08:00
c9s
0780dafdc3
add IsBackTesting method for checking environment mode 2022-05-09 18:58:09 +08:00
c9s
450517d159
bbgo: do not write trade when writing position 2022-05-04 16:21:53 +08:00
c9s
8a93f0921f
add more margin info columns 2022-05-04 14:40:52 +08:00
c9s
95f7d85183
bbgo: pass price time into the asset conversion function 2022-05-04 14:23:46 +08:00
c9s
2c70509ee8
add recordAsset method 2022-05-03 19:26:52 +08:00
c9s
fa2eb87268
fix: sync can be nil 2022-05-02 11:55:40 +08:00
c9s
2bdcf2266d
fix default sync logic 2022-05-02 10:39:59 +08:00
c9s
044470377b
avoid using the iterator variable 2022-04-27 17:13:58 +08:00
c9s
1c1fbb1633
bbgo: document strategy id and pnl field 2022-04-27 13:30:07 +08:00
c9s
5edaa9708c
bbgo: fix margin order/trade sync 2022-04-27 13:25:42 +08:00
c9s
2732fb413f
bbgo: remove slack debug option 2022-04-25 18:56:19 +08:00
c9s
a57a238e09
bbgo: add more sync options 2022-04-25 17:18:42 +08:00
c9s
ad373b95a7 add FLUSH_OTP_KEY env for flushing otp key 2022-04-17 00:35:16 +08:00
c9s
63f525970f auth: store otp key url instead of just secret 2022-04-17 00:18:48 +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
f6ec2e78e6 record profits 2022-03-06 15:37:41 +08:00
c9s
35b0d8dc0d bbgo: add profit service to environment 2022-03-05 13:40:20 +08:00
c9s
c1ac738ca0 bbgo: add doc comment for parseStructAndInject 2022-03-05 12:59:47 +08:00
zenix
d9450e823e fix all the fixedpoint use other than strategy 2022-02-15 12:01:39 +09: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