Commit Graph

17 Commits

Author SHA1 Message Date
c9s
3959e288fd
all: refactor standard indicator helper and fix tests 2022-07-26 18:35:50 +08:00
c9s
2c96d079b8
skeleton: fix log WithField comment 2022-06-22 23:32:31 +08:00
c9s
2c5b553d21
skeleton: add notation 2022-06-22 23:29:29 +08:00
c9s
2550528f60
skeleton: add notification sample 2022-06-22 23:28:49 +08:00
c9s
dcbeace40e
skeleton: update more comments 2022-06-22 23:24:11 +08:00
c9s
b9cbb9d478
skeleton: add detailed comment to the skeleton 2022-06-22 23:18:11 +08:00
c9s
18da434e92 all: use thread-safe GetAccount method to get account 2022-04-23 15:43:11 +08:00
zenix
8648528435 fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests 2022-02-15 14:55:19 +09:00
zenix
05521a98b6 add skeleton strategy. fix most of the tests. fix final asset value 2022-02-15 12:01:39 +09:00
c9s
45f1a13870 rename Stream field to UserDataStream and add MarketDataStream 2021-05-27 14:45:06 +08:00
c9s
7904c6f4d0 add ID() to Strategy interface 2021-02-03 09:08:05 +08:00
c9s
f0681177f9 inject market into the skeleton strategy 2020-10-29 17:06:34 +08:00
c9s
19b600bb35 simplify strategy registration api 2020-10-29 07:54:59 +08:00
c9s
b3eaf832af Add pricealert strategy for demonstrating notification 2020-10-27 13:54:39 +08:00
c9s
145264aae4 cancel orders and re-submit maker orders 2020-10-26 00:26:17 +08:00
c9s
308427416a Add more exchange order features
- use uuid for client order id
- add stop limit and stop market order types
- add order convert functions
- improve submit orders
2020-10-25 19:22:22 +08:00
c9s
944b673626 Add skeleton strategy 2020-10-25 18:32:43 +08:00