c9s
8961c940b2
bbgo: add two test cases for reflect
2022-09-11 03:13:10 +08:00
c9s
278aa026f2
bbgo/interact: refactor strategy filter functions
2022-09-11 02:55:58 +08:00
c9s
442ca9287d
bbgo: implement position reset
2022-09-11 02:46:58 +08:00
c9s
3be801ab6b
bbgo/interact: add /resetposition command
2022-09-11 02:41:59 +08:00
c9s
9474c2779c
bbgo: call notify when opening new position
2022-09-11 02:36:45 +08:00
c9s
5c18bc4d41
bbgo: notify closing position
2022-09-11 02:33:32 +08:00
c9s
6c22c3799e
bbgo: Add ClosePosition doc comment
2022-09-11 02:01:48 +08:00
c9s
c484c1f176
reformat code
2022-09-10 13:31:31 +08:00
c9s
5a4026e547
example: rename var createdOrders to createdOrder
2022-09-10 12:49:01 +08:00
c9s
29105eb57f
all: simplify underlying exchange submitOrder method
...
- Replace SubmitOrders with SubmitOrder
- Accept only one submit order and return one created order
- Add bbgo.BatchPlaceOrders helper method and bbgo.BatchRetryPlaceOrders method
2022-09-09 18:41:06 +08:00
c9s
94780b39e6
bbgo: order executor should collect the created orders first before we retry
2022-09-09 17:55:51 +08:00
c9s
5f2254e2cb
bbgo: add description to the open position options
2022-09-09 17:50:21 +08:00
c9s
8dca24e9ee
all: solve cyclic import
2022-09-09 17:40:17 +08:00
c9s
2e95246687
bbgo: add OpenPosition method
2022-09-09 13:57:39 +08:00
c9s
90f3727d68
pivotshort: log submit order error
2022-09-08 23:19:14 +08:00
c9s
edc8c132d5
pivotshort: print stopEMA protection
2022-09-08 23:17:35 +08:00
c9s
889318ddcb
cmd/order: add market order support
2022-09-07 02:17:56 +08:00
c9s
90b633158a
cmd/order: add margin-side-effect option
2022-09-07 02:01:38 +08:00
c9s
33fdcefba3
bbgo: add notification tag
2022-09-07 01:05:43 +08:00
c9s
c2eec1e72b
bbgo: move fixedpoint one const to consts.go
2022-09-07 00:50:54 +08:00
c9s
62fb09c8d9
bbgo: protective stop should send notification when it's activated
2022-09-07 00:50:16 +08:00
c9s
bf77f67cbb
add v1.40.2 release note
2022-09-07 00:40:01 +08:00
c9s
9bbd69c030
bump version to v1.40.2
2022-09-07 00:40:01 +08:00
c9s
2a47140c27
update command doc files
2022-09-07 00:40:01 +08:00
c9s
f62eb301e3
fix: fix pivothigh indicator use high instead of low
2022-09-06 23:39:13 +08:00
c9s
78299a6e7d
makefile: fix frontend app path
2022-09-06 18:57:40 +08:00
c9s
46d8d28b5b
move frontend to apps dir
2022-09-06 18:55:43 +08:00
c9s
8f363677bc
move bootstrap functions
2022-09-06 16:50:45 +08:00
Yo-An Lin
3f27facd83
Merge pull request #918 from c9s/feature/backtest-report-config
...
feature: write strategy config in the backtest report directory
2022-09-06 15:10:24 +08:00
c9s
ed975de2cd
cmd: write config json file into the backtest report dir
2022-09-06 13:20:37 +08:00
c9s
8ed39f7565
cmd: add session name to the symbol report json file
2022-09-06 13:18:35 +08:00
Raphanus Lo
7416f1074a
Merge pull request #915 from COLDTURNIP/feature/observer_filters
...
feature: add G-H filter and Kalman filter
2022-09-05 20:29:41 +08:00
c9s
067f1274b3
add v1.40.1 release note
2022-09-05 18:19:03 +08:00
c9s
925df19ee0
bump version to v1.40.1
2022-09-05 18:19:03 +08:00
c9s
86e3f9f4e1
update command doc files
2022-09-05 18:19:03 +08:00
c9s
28027518f6
fix utils/generate-version-file.sh
2022-09-05 18:18:45 +08:00
Yo-An Lin
36a79336dd
Merge pull request #917 from c9s/fix/backtest-fee-mode
...
backtest: fix backtest fee mode when fee currency is not base or quote
2022-09-05 17:49:45 +08:00
c9s
bf4eade604
backtest: fix backtest fee mode when fee currency is not base or quote
2022-09-05 17:41:12 +08:00
Raphanus Lo
65cd17dbbb
bbgo: add G-H & Kalman filters to the standard indicator set
2022-09-05 17:13:50 +08:00
Yo-An Lin
1bbd837e84
Update README.md
2022-09-05 17:09:42 +08:00
Raphanus Lo
425d9e0475
indicator: GH & Kalman filters: remove deprecated method implementation
2022-09-05 16:51:30 +08:00
Raphanus Lo
9c684c124c
feature: add G-H filter and Kalman filter
...
- implement G-H (alpha beta) filter and Kalman filter
- compare the predict accurateness with other indicator
2022-09-04 21:48:05 +08:00
Yo-An Lin
843b81e132
Merge pull request #914 from LarryLuTW/patch-1
...
Fix typo
2022-09-04 13:43:54 +08:00
Larry Lu
269529afa4
Fix typo
2022-09-04 13:35:01 +08:00
Yo-An Lin
55474b4bf9
Merge pull request #913 from COLDTURNIP/fix/fixedpoint_support_inf_string_unmarshal
...
fix: fixedpoint UnarshalJson on inf
2022-09-02 15:14:34 +08:00
Yo-An Lin
fcb7a27f70
Merge pull request #911 from c9s/feature/backtest-report
...
feature: add fee mode to back-test matching engine
2022-09-02 15:09:04 +08:00
Raphanus Lo
338c4ea170
fix: fixedpoint UnarshalJson on inf for decimal support
2022-09-02 15:02:46 +08:00
c9s
3a225fe7c7
backtest: fix tests for fee
2022-09-02 14:31:04 +08:00
Raphanus Lo
750bdc82b5
fix: fixedpoint UnarshalJson on inf
2022-09-02 14:17:51 +08:00
c9s
db622fbb55
types: add CsvHeaders and CsvRecords methods to TradeStats
2022-09-02 14:16:16 +08:00