bbgo_origin/pkg/service
2022-06-02 02:12:38 +08:00
..
account_test.go add more margin info columns 2022-05-04 14:40:52 +08:00
account.go change column to net_asset_in_* to avoid confusion 2022-05-04 19:13:55 +08:00
backtest.go batch: refactor batch query 2022-05-31 00:59:33 +08:00
database.go service: use reflect to generate insert sql 2022-05-30 18:08:54 +08:00
db_test.go types: add gid field 2022-06-01 19:40:29 +08:00
deposit_test.go add skeleton strategy. fix most of the tests. fix final asset value 2022-02-15 12:01:39 +09:00
deposit.go adjust withdraw/deposit query limit since there are no many in most cases 2021-03-16 02:14:24 +08:00
errors.go move persistence service into the service package 2021-02-21 00:45:56 +08:00
margin_test.go types: add gid field 2022-06-01 19:40:29 +08:00
margin.go service/margin: fix query ordering 2022-06-01 19:40:29 +08:00
memory_test.go add state key as the prefix 2022-05-05 18:18:38 +08:00
memory.go add state key as the prefix 2022-05-05 18:18:38 +08:00
order_test.go order: extract query order sql generator 2021-02-03 18:31:32 +08:00
order.go service: refactor closed order sync method 2022-06-02 02:12:38 +08:00
persistence_facade.go add Get method to the persistence service facade 2021-02-21 16:55:45 +08:00
persistence_json.go implement reflect-based persistence restore and load 2022-05-05 12:53:48 +08:00
persistence_redis_test.go resolve cyclic imports 2021-02-21 01:01:39 +08:00
persistence_redis.go service: check redis client and show proper error 2022-01-12 12:42:39 +08:00
persistence.go fix persistence config unmarshalling 2021-05-02 18:16:34 +08:00
position_test.go fix position test 2022-03-14 21:21:58 +08:00
position.go add accumulated profit column to position 2022-03-14 21:21:58 +08:00
profit_test.go all: update profit struct fields 2022-03-05 01:39:53 +08:00
profit.go service: use reflect to generate insert sql 2022-05-30 18:08:54 +08:00
reflect_test.go types: add gid field 2022-06-01 19:40:29 +08:00
reflect.go service/reflect: add more debug logs 2022-06-01 19:40:29 +08:00
reward_test.go add skeleton strategy. fix most of the tests. fix final asset value 2022-02-15 12:01:39 +09:00
reward.go add reward service todo 2021-03-14 11:18:23 +08:00
sync_task.go service: refactor closed order sync method 2022-06-02 02:12:38 +08:00
sync.go service: integrate margin service into the sync service 2022-06-01 19:40:29 +08:00
totp.go account: add nav_history_details and account_service for #302 2021-12-14 08:09:18 +08:00
trade_test.go fix query test 2022-03-18 15:00:33 +08:00
trade.go service: refactor closed order sync method 2022-06-02 02:12:38 +08:00
websocket.go ws: make Reconnect() public 2021-02-27 18:42:45 +08:00
websocketclientbase_callbacks.go ws: implement base websocket client 2021-02-27 16:48:50 +08:00
withdraw_test.go add skeleton strategy. fix most of the tests. fix final asset value 2022-02-15 12:01:39 +09:00
withdraw.go sync: skip rejected withdraw record 2021-12-31 14:20:36 +08:00