Commit Graph

1313 Commits

Author SHA1 Message Date
Matthias 873eb5f2ca Improve EMC config validations 2022-09-24 16:43:58 +02:00
Matthias 50dfde7048 Remove unnecessary typing import 2022-09-24 16:11:15 +02:00
Matthias 53c8e0923f Improve typing in message_consumer 2022-09-24 16:10:42 +02:00
Timothy Pogue 6b5d71049e add sleep 2022-09-23 13:10:45 -06:00
Timothy Pogue 4c7cef570f typo in exception 2022-09-23 12:58:26 -06:00
Timothy Pogue b8e1d29a1b catch connectionclosederror 2022-09-23 12:36:05 -06:00
Matthias 1db8421b9d
Merge pull request #7303 from wizrds/feat/externalsignals
Producer/consumer mode
2022-09-23 06:29:58 +02:00
Matthias e6c5c22ea0 Update websocket/follower docs 2022-09-22 20:31:42 +02:00
Timothy Pogue 6a6ae809f4 fix jwt auth 2022-09-21 18:23:00 -06:00
Timothy Pogue 77ed713232 add catch for invalid message error 2022-09-21 16:04:25 -06:00
Timothy Pogue 128b117af6 support list of tokens in ws_token 2022-09-21 16:02:21 -06:00
Matthias 3b0874eb37 Update exit message handling to gracefully handle kucoins "empty" responses
closes #7444
2022-09-20 20:00:08 +02:00
Matthias 0c01b23cba Capture exceptions in send_msg calls 2022-09-20 18:09:14 +02:00
Matthias 914eccecec Merge branch 'develop' into pr/wizrds/7303 2022-09-20 06:56:15 +02:00
Matthias 3274bb0751 Remove msgpack for now 2022-09-20 06:55:22 +02:00
Matthias 994c1c5ea0 use Config typing in more places 2022-09-18 13:31:52 +02:00
Matthias 667853c504 Use Alias to type config objects 2022-09-18 13:20:55 +02:00
Timothy Pogue 4422ac7f45 constrain port in config, catch value error 2022-09-16 19:22:24 -06:00
Timothy Pogue 7d1645ac20 fix tests and warning message 2022-09-15 17:54:31 -06:00
Timothy Pogue 8e75852ff3 fix constants, update config example, add emc config validation 2022-09-15 11:12:05 -06:00
Timothy Pogue 6126925dbe message size limit in mb, default to 8mb 2022-09-14 16:42:14 -06:00
Timothy Pogue aed19ff6ce fix The future belongs to a different loop error 2022-09-13 19:17:12 -06:00
Timothy Pogue 06350a13cb support specifying message size in emc config 2022-09-13 16:39:53 -06:00
Timothy Pogue d75d5a7dad debug ping error message 2022-09-13 16:06:25 -06:00
Matthias 7a98775f01 Version bump apiVersion 2022-09-13 22:07:59 +02:00
Matthias d2abc9417f Simplify ws imports 2022-09-13 20:51:13 +02:00
Matthias 79c70bd52d use WebSocketState from fastapi
available since 0.82.0
2022-09-13 20:50:12 +02:00
Timothy Pogue 07aa206f71 real fix for reconnecting 2022-09-13 12:36:40 -06:00
Timothy Pogue 6d0dfd4dc8 continue trying connect on ping error 2022-09-13 12:27:41 -06:00
Timothy Pogue bf2e5dee75 add running false on shutdown, fix dp typing 2022-09-12 14:21:39 -06:00
Timothy Pogue 0697041f14 remove copy statement where not needed 2022-09-12 14:09:12 -06:00
Timothy Pogue c19a5fbe06 copy data being transferred, remove debug messages in emc 2022-09-12 13:57:29 -06:00
Matthias b6434040de Remove plain json serializer implementation 2022-09-12 20:24:28 +02:00
Matthias 867d59b930 Improve type specifitivity 2022-09-12 20:00:01 +02:00
Matthias 0052e58917 emc: Fix potential startup timing issue 2022-09-12 19:50:22 +02:00
Timothy Pogue d6205e6cfb test logging lines 2022-09-12 07:36:11 -06:00
Matthias 715a71465d Fix auth bug when no token is set 2022-09-12 07:28:31 +02:00
Timothy Pogue 5483cf21f6 remove default secret_ws_token, set timeout min to 0 2022-09-11 11:42:13 -06:00
Timothy Pogue ed4ba8801f more emc tests 2022-09-10 23:57:17 -06:00
Timothy Pogue 0f8eaf98e7 Merge branch 'develop' into feat/externalsignals 2022-09-10 15:14:10 -06:00
Timothy Pogue 0bc18ea33c call websocket close in channel close 2022-09-10 15:12:18 -06:00
Timothy Pogue 2afd5c202c update message parsing, tests 2022-09-10 14:29:15 -06:00
Timothy Pogue a7baccdb7d update log messages in emc, more tests 2022-09-10 13:44:27 -06:00
Timothy Pogue 866a564958 update emc start/shutdown, initial emc tests 2022-09-10 12:51:29 -06:00
Timothy Pogue d8cdd92140 wrap background cleanup in finally, add tests 2022-09-10 11:47:21 -06:00
Matthias 4250174de9 Fix ws exception when no token is provided 2022-09-10 14:29:58 +02:00
Matthias b344f78d00 Improve logic for token validation 2022-09-10 14:20:49 +02:00
Matthias 939fb7acb3 Fix enum imports 2022-09-09 20:31:30 +02:00
Timothy Pogue 6cbc03a96a support jwt token in place of ws token 2022-09-09 11:38:42 -06:00
Timothy Pogue 09679cc798 fix dependency 2022-09-09 11:27:20 -06:00
Timothy Pogue 426f8f37e9 change var names 2022-09-09 10:45:49 -06:00
Matthias e256ebd727 Add ws_token to auto-generated config 2022-09-09 07:13:05 +02:00
Timothy Pogue 75cf8dbfe4 missed await 2022-09-08 15:11:36 -06:00
Timothy Pogue 2b9c8550b0 moved ws_schemas, first ws tests 2022-09-08 13:58:28 -06:00
Timothy Pogue b9e7af1ce2 fix ws token auth 2022-09-08 11:25:30 -06:00
Timothy Pogue fac6626459 update default timeouts 2022-09-08 10:54:31 -06:00
Timothy Pogue b3b0c918d9 cleanup old code 2022-09-08 10:44:03 -06:00
Timothy Pogue 379b1cbc90 remove unnecessary returns 2022-09-08 10:37:41 -06:00
Timothy Pogue df3c126146 fix mypy error 2022-09-08 10:34:37 -06:00
Timothy Pogue 5934495dda add websocket request/message schemas 2022-09-07 15:08:01 -06:00
Timothy Pogue 8bfaf0a998 Merge branch 'develop' into feat/externalsignals 2022-09-06 13:02:36 -06:00
Timothy Pogue b1c0267449 mypy fixes 2022-09-06 12:40:58 -06:00
Timothy Pogue 3535aa7724 add last_analyzed to emitted dataframe 2022-09-06 12:12:05 -06:00
Matthias f2f811a2fe Fix telegram bug with open partial exit orders 2022-09-06 19:55:18 +02:00
Timothy Pogue 38f14349e9 move bytes decoding to serializer 2022-09-05 23:25:25 -06:00
Matthias d526dfb171 Revert some more changes in rpc_manager 2022-09-06 07:03:31 +02:00
Timothy Pogue a0d774fdc4 change default initial candle limit to 1500 2022-09-05 20:23:00 -06:00
Timothy Pogue b949ea301c fix failed apiserver tests 2022-09-05 19:29:07 -06:00
Timothy Pogue cd8455ccb7 Merge branch 'develop' into feat/externalsignals 2022-09-05 15:10:25 -06:00
Timothy Pogue 8f261d8edf change from bytes to text in websocket, remove old logs 2022-09-05 13:47:17 -06:00
Matthias 36e5c18fa6 Don't raise exception when a message is not implemented in telegram 2022-09-05 20:54:03 +02:00
Timothy Pogue 8a08f8ff8d revert rpc manager 2022-09-04 10:27:34 -06:00
Timothy Pogue 07f806a314 minor improvements, fixes, old config+constant removal 2022-09-04 10:22:10 -06:00
Timothy Pogue 05cbcf834c minor logging changes 2022-09-02 16:01:33 -06:00
Timothy Pogue cf917ad2f5 initial candle request limit, better error reporting, split up _handle_producer_connection 2022-09-02 15:05:16 -06:00
Timothy Pogue 5b0b802f31 hybrid json ws serializer 2022-09-02 00:05:36 -06:00
Timothy Pogue eb4cd6ba82 split initial data into separate requests 2022-09-01 23:52:13 -06:00
Timothy Pogue dccde88c83 fix dataframe serializing 2022-09-01 23:15:03 -06:00
Timothy Pogue 00f35f4870 remove old constant, add initial_data requesting, minor changes 2022-09-01 20:06:36 -06:00
Timothy Pogue 865b34cd6f add producer names 2022-08-31 11:43:02 -06:00
Timothy Pogue 510cf4f305 remove data waiting, remove explicit analyzing of external df 2022-08-31 10:40:26 -06:00
Timothy Pogue 115a901773 minor fix for conditional in handle func 2022-08-30 19:34:43 -06:00
Timothy Pogue ddc45ce2eb message handling fix, data waiting fix 2022-08-30 19:30:14 -06:00
Timothy Pogue 346e73dd75 client implementation, minor fixes 2022-08-30 19:21:34 -06:00
Timothy Pogue 418bd26a80 minor fixes, rework consumer request, update requirements.txt 2022-08-30 11:04:16 -06:00
Timothy Pogue 47f7c384fb consumer subscriptions, fix serializer bug 2022-08-29 15:48:29 -06:00
Timothy Pogue 7952e0df25 initial rework separating server and client impl 2022-08-29 13:41:15 -06:00
Timothy Pogue 8c4e68b8eb updated example configs 2022-08-28 13:00:52 -06:00
Matthias b9f35cadb3 add /stopentry alias for /stopbuy 2022-08-28 11:37:22 +02:00
Timothy Pogue 05ca673883 Catch status code errors 2022-08-27 00:06:03 -06:00
Timothy Pogue fcceb744c5 Add janus to requirements.txt 2022-08-26 23:43:05 -06:00
Timothy Pogue 2b5f067877 Refactoring, minor improvements, data provider improvements 2022-08-26 23:40:13 -06:00
Timothy Pogue d474111a65 Renamed to external signals, controller class refactored 2022-08-24 22:42:29 -06:00
Timothy Pogue 6f5478cc02 DataFrame transmission, strategy follower logic 2022-08-21 22:45:36 -06:00
Timothy Pogue 739b68f8fd ExternalPairList plugin 2022-08-19 22:40:01 -06:00
Timothy Pogue 6834db11f3 minor improvements and pairlist data transmission 2022-08-19 00:06:19 -06:00
Timothy Pogue 9f6bba40af initial concept for replicate, basic leader and follower logic 2022-08-18 20:10:58 +02:00
Matthias 044cf8bb2e Allow new whitelist combination in "button" commands 2022-08-14 08:41:25 +02:00
Matthias 22ac291c3a
Merge pull request #7211 from ecoppen/rpc/whitelist_options
Optional /whitelist args - sorted, nobase
2022-08-14 08:26:21 +02:00
ecoppen 923f73a516 nobase -> baseonly 2022-08-12 19:56:46 +01:00