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
Yo-An Lin
e0228f80f4
Merge pull request #926 from c9s/feature/open-position
...
fix: handle created orders before we retry
2022-09-10 13:37:16 +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
Yo-An Lin
e86df62daf
Merge pull request #925 from c9s/feature/open-position
...
feature: order executor open position method
2022-09-09 17:58:12 +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
Yo-An Lin
1c7b40a0be
Merge pull request #922 from c9s/fix/trade-stats-for-live
...
fix: types/tradeStats: use last order id to identity consecutive win and loss
2022-09-08 17:30:48 +08:00
c9s
3aebb58091
types/tradeStats: use tester
2022-09-08 16:37:47 +08:00
c9s
3b208ee4ef
types/tradeStats: expose Recalculate trade stats method
2022-09-08 16:29:48 +08:00
c9s
950e998ed1
types/tradeStats: call updates when marshalling
2022-09-08 16:10:18 +08:00
c9s
d12df59c1b
types/tradeStats: use last order id to identity consecutive win and loss
2022-09-08 15:49:23 +08:00
Yo-An Lin
3e07f1fa86
Merge pull request #921 from andycheng123/improve/supertrend-strategy-profit-report
...
strategy/supertrend: use ma by day instead of by trade
2022-09-08 12:15:50 +08:00
Andy Cheng
6ca1a80cf9
strategy/supertrend: use ma by day instead of by trade
2022-09-07 18:27:11 +08:00
Zenix
afad9cca47
Merge pull request #910 from zenixls2/feature/ewo_renew
...
SerialMarketDataStore, elliottwave renewal
2022-09-07 18:54:01 +09:00
Yo-An Lin
d24b816518
Merge pull request #919 from c9s/fix/trade-stats-for-live
...
feature: add fixedpoint.Reducer, Counter and add update stats method on TradeStats
2022-09-07 17:36:49 +08:00
austin362667
46b3fabfe3
strategy: add trend trader
...
strategy: add trend treader
strategy: add trend treader
2022-09-07 16:11:31 +08:00
austin362667
8b97e4c4e8
audacity: finalize strategy
2022-09-07 16:05:51 +08:00
austin362667
713ead669e
audacity: stddev outlier func & all order change to maker
2022-09-07 16:05:51 +08:00
austin362667
43a3e21a7b
audacitymaker: rename perTrade
2022-09-07 16:05:51 +08:00
austin362667
132f700377
builtib: update strategy registery
2022-09-07 16:05:51 +08:00
austin362667
73a8f3586f
builtib: update strategy list
...
builtib: update strategy list
2022-09-07 16:05:51 +08:00
austin362667
1d727345ee
strategy: redesign to audacitymaker
2022-09-07 16:05:51 +08:00
austin362667
833d30ce64
ktrade: add second try
2022-09-07 16:05:51 +08:00
austin362667
6a119bfca0
ktrade: remove ticker
2022-09-07 16:05:51 +08:00
austin362667
a18a06819e
ktrade: error handling
...
ktrade: remove error handling
ktrade: remove error handling
ktrade: remove error handling
ktrade: error handling
2022-09-07 16:05:51 +08:00
austin362667
49f7c3de46
ktrade: rounding instead of ceil/floor
2022-09-07 16:05:51 +08:00
austin362667
1cc285985c
config: add ktrade
2022-09-07 16:05:51 +08:00
austin362667
42d7117464
strategy: add ktrade
2022-09-07 16:05:51 +08:00
c9s
56c53958cd
fixedpoint: positive tester and negative tester
2022-09-07 15:11:07 +08:00
c9s
c62330b2c1
fixedpoint: add counter func
2022-09-07 14:05:44 +08:00
c9s
e28921879d
types: implement stats update method for live trading
2022-09-07 14:02:57 +08:00
zenix
e7a5669018
fix: lowestPrice in elliottwave, add more logs
2022-09-07 15:02:38 +09:00
c9s
668180f8aa
fixedpoint: add reducer and its tests
2022-09-07 14:00:26 +08:00
c9s
e161f4ec1a
fixedpoint: add sort interface support on fixedpoint
2022-09-07 12:35:09 +08:00
c9s
e0e279f756
fixedpoint: add reducer
2022-09-07 12:28:13 +08:00
c9s
6b4661783d
types: group profits by order id
2022-09-07 11:59:08 +08:00
c9s
4c3334c482
types: assign orderID to profit object
2022-09-07 11:57:09 +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