Commit Graph

33 Commits

Author SHA1 Message Date
Timothy Pogue d8cdd92140 wrap background cleanup in finally, add tests 2022-09-10 11:47:21 -06:00
Timothy Pogue 426f8f37e9 change var names 2022-09-09 10:45:49 -06:00
Timothy Pogue b9e7af1ce2 fix ws token auth 2022-09-08 11:25:30 -06:00
Timothy Pogue b949ea301c fix failed apiserver tests 2022-09-05 19:29:07 -06:00
Timothy Pogue 07f806a314 minor improvements, fixes, old config+constant removal 2022-09-04 10:22:10 -06:00
Timothy Pogue 00f35f4870 remove old constant, add initial_data requesting, minor changes 2022-09-01 20:06:36 -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 7952e0df25 initial rework separating server and client impl 2022-08-29 13:41:15 -06:00
Timothy Pogue 2b5f067877 Refactoring, minor improvements, data provider improvements 2022-08-26 23:40:13 -06:00
Timothy Pogue 9f6bba40af initial concept for replicate, basic leader and follower logic 2022-08-18 20:10:58 +02:00
Matthias 21df1b0db3 Use ORJSON for http responses 2022-04-29 07:17:31 +02:00
Matthias a43c088448 Allow @informative in webserver mode 2022-01-22 07:11:59 +01:00
Matthias 52ae95b2a5 Improve naming of apiserver variables 2021-07-10 11:20:21 +02:00
Matthias e5b1657ab3 Properly remove rpc handler 2021-07-06 19:48:28 +02:00
Matthias 129c7b02d0 Not all config values are mandatory in webserver mode 2021-07-06 19:48:28 +02:00
Matthias 804d99cce9 Move backtesting api to it's own file 2021-07-06 19:48:28 +02:00
Matthias 03140a0ecb Run webserver in main thread when using webserver mode 2021-07-06 19:48:28 +02:00
Matthias f96d7dfe6d Allow backtesting to reuse data
Allow activating / deactivating protections dynamically
2021-07-06 19:48:28 +02:00
Matthias edb8c4f0e5 Fix tests for webserver mode 2021-07-06 19:48:28 +02:00
Matthias 5c18c8726d Implement backtesting with fastapi 2021-07-06 19:48:28 +02:00
Matthias df55259737 Add start_trading endpoint 2021-07-06 19:48:28 +02:00
Matthias 02b84bd018 Introduce webserver mode for fastapi 2021-07-06 19:48:28 +02:00
Matthias 1a82685dd8 Don't reset log caching
uvicorn will "load from dict" the config - which flushes the logs
and therefore cleans log-buffering
2021-06-25 18:24:10 +02:00
Matthias 228e51b60b Fix #4405 2021-02-22 13:34:52 +01:00
Matthias 27970b424d Add webUI serving to api-server 2021-01-31 14:50:54 +01:00
Matthias 47a06c6213 Fix enable/reenable of swagger UI endpoint 2021-01-12 19:28:22 +01:00
Matthias 5ca2cd3a1e Change defaults to log only errors 2021-01-03 07:18:41 +01:00
Matthias 634d6f3898 Change logging to stderr 2021-01-03 07:15:45 +01:00
Matthias ca0bb7bbb8 Don't require RPC for strategy 2021-01-03 06:49:07 +01:00
Matthias e6176d43f3 Optional RPC dependency 2021-01-03 06:49:07 +01:00
Matthias 718f2b24d2 Don't use relative imports 2021-01-03 06:49:07 +01:00
Matthias b2ab553a31 Rename api_server2 module to apiserver 2021-01-03 06:49:04 +01:00