c9s
|
b0cc128b79
|
pull out trend types
|
2020-10-29 17:03:36 +08:00 |
|
c9s
|
a7325e86f0
|
document swing strategy
|
2020-10-29 13:42:53 +08:00 |
|
c9s
|
5f45d18ae2
|
fix struct composition
|
2020-10-29 13:08:33 +08:00 |
|
c9s
|
19b600bb35
|
simplify strategy registration api
|
2020-10-29 07:54:59 +08:00 |
|
c9s
|
c71f013916
|
let SMA indicator and EWMA indicator use IntervalWindow type
|
2020-10-29 07:51:23 +08:00 |
|
c9s
|
2f8bffeaca
|
add strict injection check fo pointer only objects
|
2020-10-29 07:49:06 +08:00 |
|
c9s
|
33257c591e
|
refactor swing strategy with types IntervalWindow
|
2020-10-29 07:44:22 +08:00 |
|
c9s
|
6d8ec7894e
|
refactor standard indicator set with store
|
2020-10-29 07:40:02 +08:00 |
|
c9s
|
b1cf9db879
|
add reflink
|
2020-10-28 17:50:47 +08:00 |
|
c9s
|
d6553a1155
|
move strategy subscribe out
|
2020-10-28 17:49:49 +08:00 |
|
c9s
|
f4474c6a6d
|
add check for sma caluclation
|
2020-10-28 17:48:16 +08:00 |
|
c9s
|
67446670ac
|
finalize swing strategy and fix trade reporter issue
|
2020-10-28 17:48:16 +08:00 |
|
c9s
|
c96845ff6a
|
add fields to slack notifier logs
|
2020-10-28 17:48:16 +08:00 |
|
c9s
|
b22e0370b3
|
drop legacy OrderProcessor and remove slack debug
|
2020-10-28 17:48:16 +08:00 |
|
c9s
|
468864302e
|
fix submit order quantity formatting
|
2020-10-28 17:48:16 +08:00 |
|
c9s
|
2680ad5072
|
refactor environment, market data store, injection and add swing strategy
|
2020-10-28 17:48:16 +08:00 |
|
Yo-An Lin
|
90ca829915
|
Merge pull request #41 from c9s/feature/indicators
feature: support standard indicator sets
|
2020-10-28 17:47:57 +08:00 |
|
c9s
|
7d7d2c2fc7
|
assign standard indicator set to the session
|
2020-10-28 11:15:50 +08:00 |
|
c9s
|
e2df24f31c
|
support standard indicatorset
|
2020-10-28 09:43:19 +08:00 |
|
c9s
|
50693ae845
|
implement ewma and sma
|
2020-10-28 09:13:57 +08:00 |
|
Yo-An Lin
|
501edb1bca
|
Merge pull request #39 from c9s/feature/notification-router
feature: strategy injection
|
2020-10-27 21:46:59 +08:00 |
|
c9s
|
388346b284
|
move injectStrategyField to a single file
|
2020-10-27 20:42:48 +08:00 |
|
c9s
|
008e5c83f9
|
fix notification config check
|
2020-10-27 20:41:08 +08:00 |
|
c9s
|
6dcb6df7c1
|
add minimal config for example
|
2020-10-27 20:38:56 +08:00 |
|
c9s
|
8e932b3f43
|
add doc for writing your own strategy
|
2020-10-27 20:36:20 +08:00 |
|
c9s
|
96d0be31eb
|
update readme for requirements
|
2020-10-27 20:21:28 +08:00 |
|
c9s
|
e1c2f7cc3d
|
improve notifier signatures and fix slack Notify method
|
2020-10-27 20:13:10 +08:00 |
|
c9s
|
7905ba09d4
|
pull out fillStrategyNotifiability
|
2020-10-27 19:37:11 +08:00 |
|
c9s
|
ccc381143d
|
support pointer type filling
|
2020-10-27 19:33:11 +08:00 |
|
c9s
|
ae30b7e323
|
update readme for api design
|
2020-10-27 19:24:53 +08:00 |
|
Yo-An Lin
|
1e5327a5e4
|
Update strategy.go
|
2020-10-27 15:51:36 +08:00 |
|
Yo-An Lin
|
d6d709fc84
|
Merge pull request #38 from c9s/feature/notification-router
feature: notifiability injection for strategy
|
2020-10-27 15:50:21 +08:00 |
|
c9s
|
968af40cb2
|
update readme for builtin strategies
|
2020-10-27 14:11:07 +08:00 |
|
c9s
|
b3eaf832af
|
Add pricealert strategy for demonstrating notification
|
2020-10-27 13:54:39 +08:00 |
|
Yo-An Lin
|
dbf953ce52
|
Merge pull request #36 from c9s/feature/notification-router
feature: notification router
|
2020-10-27 11:41:08 +08:00 |
|
c9s
|
ab43de3efd
|
clean up comment for base order executor
|
2020-10-27 10:00:41 +08:00 |
|
c9s
|
ef598c3a0f
|
assign base order executor descendingly
|
2020-10-27 09:58:21 +08:00 |
|
c9s
|
8453e95300
|
configure channel routers
|
2020-10-27 09:38:29 +08:00 |
|
c9s
|
42f947506c
|
add route methods on Notifiability
|
2020-10-27 09:24:59 +08:00 |
|
c9s
|
ea05d998f2
|
load notification conf
|
2020-10-27 08:57:00 +08:00 |
|
c9s
|
c315b79bd7
|
add notification config
|
2020-10-27 08:48:47 +08:00 |
|
c9s
|
284a0676f7
|
remove unused confg package
|
2020-10-27 08:19:16 +08:00 |
|
c9s
|
955479486a
|
add symbol channel router and object channel router for notification
|
2020-10-27 08:19:16 +08:00 |
|
c9s
|
1d8e0bff5a
|
drop legacy NewDefaultEnvironment method
|
2020-10-27 08:19:16 +08:00 |
|
Yo-An Lin
|
4033ad56e2
|
Merge pull request #34 from c9s/feature/order-executor
feature: refactor order executor and add basic risk control
|
2020-10-27 08:19:06 +08:00 |
|
c9s
|
922da31afd
|
drop legacy config structure
|
2020-10-27 00:44:07 +08:00 |
|
c9s
|
e57ab039d1
|
document the baseQuantity
|
2020-10-26 22:26:01 +08:00 |
|
c9s
|
0fd9e8b95a
|
reset price field when market order is used
|
2020-10-26 22:08:16 +08:00 |
|
c9s
|
085d02bee4
|
clean up strategy code since we can loaded from the config
|
2020-10-26 22:04:48 +08:00 |
|
c9s
|
38c87bfecc
|
drop config dir
|
2020-10-26 21:46:38 +08:00 |
|