Commit Graph

26619 Commits

Author SHA1 Message Date
Matthias 2ade5191e6 Ensure shutdown of async exchange, fix test 2024-05-31 06:40:14 +02:00
Matthias d42e012ec3 ws - Improve cleanup behavior 2024-05-31 06:40:14 +02:00
Matthias 4e75e59476 Skip futures tests on exchnages not supporting futures ... 2024-05-31 06:40:14 +02:00
Matthias 9f2708247a Enable ws for bybit 2024-05-31 06:40:14 +02:00
Matthias f324af938a Improve WS logic to assume a candle is complete if time rolled over 2024-05-31 06:40:14 +02:00
Matthias b5dc54072e Ensure exchange objects are not undefined 2024-05-31 06:40:14 +02:00
Matthias c61d9e0dec Reduce verbosity 2024-05-31 06:40:14 +02:00
Matthias c0c775114e Slightly improved loggign 2024-05-31 06:40:14 +02:00
Matthias 0ec751826b Opt in binance to websocket support 2024-05-31 06:40:14 +02:00
Matthias 137ddb2ec3 Require opt-in for ws enablement to allow slow rollout 2024-05-31 06:40:14 +02:00
Matthias e31d8313f2 Improve ccxt_ws test setup 2024-05-31 06:40:14 +02:00
Matthias e3887a33b9 Add Helping comment to ws_compat_tests 2024-05-31 06:40:14 +02:00
Matthias bd9ebe4a72 Improve ccxt.ws live test 2024-05-31 06:40:14 +02:00
Matthias f9ce0bb9ab Improve exchange formatting 2024-05-31 06:40:14 +02:00
Matthias 35e2e58a5c Improve formatting 2024-05-31 06:40:14 +02:00
Matthias a835177597 Initial swat at online WS test 2024-05-31 06:40:14 +02:00
Matthias 8375209a8e Add fixtures for exchange_ws 2024-05-31 06:40:14 +02:00
Matthias 55bd7db022 Don't forget to close WS session 2024-05-31 06:40:14 +02:00
Matthias c18b6cdb74 Improve stop behavior 2024-05-31 06:40:14 +02:00
Matthias 4832c10973 Only import ccxt.async when necessary 2024-05-31 06:40:14 +02:00
Matthias e0b4e16d19 Remove ob_test stuff 2024-05-31 06:40:14 +02:00
Matthias 67a6c11f6d No longer import ccxt.async_support 2024-05-31 06:40:14 +02:00
Matthias 55ed505f94 Update exchange_ws get_ohlcv logic 2024-05-31 06:40:14 +02:00
Matthias f90574abee use OHLCVResponse in ws 2024-05-31 06:40:14 +02:00
Matthias 0b620817a2 Don't append fake candle 2024-05-31 06:40:14 +02:00
Matthias fcaee33706 Improve log msg 2024-05-31 06:40:14 +02:00
Matthias 3d6cef3555 ccxt.pro - first attempt at test 2024-05-31 06:40:14 +02:00
Matthias ec6c54367b Add exchange_ws test case 2024-05-31 06:40:14 +02:00
Matthias f223319909 Improve typehint for ohlcv endpoint 2024-05-31 06:40:14 +02:00
Matthias e8b4bcc65d use default argument 2024-05-31 06:40:14 +02:00
Matthias dadc96306f Better define what interface is external 2024-05-31 06:40:14 +02:00
Matthias 8a00bf3188 Use proper typehint 2024-05-31 06:40:14 +02:00
Matthias aef0324aa7 set markets for ws exchange on reload 2024-05-31 06:40:14 +02:00
Matthias f4f8b910fe Improve exchange_ws terminology 2024-05-31 06:40:14 +02:00
Matthias 60cfda5d52 Add very basic exception handling 2024-05-31 06:40:14 +02:00
Matthias f9524aebe9 Improve temporary log output for exchange_ws 2024-05-31 06:40:14 +02:00
Matthias eda8a767ca Improve ws exchange 2024-05-31 06:40:14 +02:00
Matthias 18dabd519a ccxt.pro - move get_klines to ws_exchange 2024-05-31 06:40:13 +02:00
Matthias e2b567165c remove double log 2024-05-31 06:40:13 +02:00
Matthias 972b932e5d Implement ws cleanup 2024-05-31 06:40:13 +02:00
Matthias 2fd5b4a6e1 Use websocket results 2024-05-31 06:40:13 +02:00
Matthias 1d12985b70 Update exchange_ws with cleanup function 2024-05-31 06:40:13 +02:00
Matthias bd494ed67a Cleanup exchange changes 2024-05-31 06:40:13 +02:00
Matthias 3468edddf6 Add enable_ws config setting 2024-05-31 06:40:13 +02:00
Matthias 51890f80c4 Add parameter for ws enablin 2024-05-31 06:40:13 +02:00
Matthias 34ccada909 Tests with seperate thread 2024-05-31 06:40:13 +02:00
Matthias e985c1890b Implement basic ccxt.pro to test 2024-05-31 06:40:13 +02:00
Matthias ad7b78ec93 Update exchange init to use .pro if available 2024-05-31 06:40:13 +02:00
Matthias c9b1071baa Use api_async for exchange_has 2024-05-31 06:40:13 +02:00
Matthias feeccfedaa Update list-exchanges with watchOHLCV 2024-05-31 06:40:13 +02:00