Code Monkey home page Code Monkey logo

Comments (12)

mikekonan avatar mikekonan commented on May 30, 2024 3

Greetings! First and foremost, I must mention that I am unable to devote significant time and attention to maintaining the project. The challenges are the inadequacy and instability of the kucoin WebSocket API and the inefficient performance of the lazy initiation approach with freqtrade. An easy and stupid solution would be to implement a health check that enables docker to restart the proxy as required. On the other hand, the optimal solution would involve the distribution of workers that listen to kucoin WebSocket, albeit at the cost of making deployment hard and challenging for the average user.

from exchange-proxy.

mikekonan avatar mikekonan commented on May 30, 2024

Thanks for the report.

It will be really good if you will provide the results of the GET klines request. You can find the path in proxy logs enabling verbose 1.

It will be like /kucoin/api/v1/market/candles?symbol=LPT-USDT&type=5min&startAt=1642382225&endAt=1642532225 so you need to curl to proxy, and kucoin API to compare the results.

from exchange-proxy.

jurekl avatar jurekl commented on May 30, 2024

Hey Mike,
I'll try, of course, but a bit later.
I supplemented the info with the proxy and golang versions, because I am trying to build the proxy myself, on my VPS.

As it happens in life, it can be hellishly difficult to find a possible error / defect, because I have been using your proxy from the beginning and only yesterday I discovered such a glaring case as the rejection of 95% coins due to their age. The age of 4 days for 95 coins seems rather unlikely.
When I get the data you mention, I will paste it right here!

from exchange-proxy.

jurekl avatar jurekl commented on May 30, 2024

I ran two commands:

curl -o response-kucoin.txt 'https://openapi-v2.kucoin.com/api/v1/market/candles?symbol=LPT-USDT&type=5min&startAt=1642382225&endAt=1642532225'

and the next one

curl -o response-proxy.txt 'https://localhost:9000/api/v1/market/candles?symbol=LPT-USDT&type=5min&startAt=1642382225&endAt=1642532225'

Comparing the contents of the two files containing the klines showed that they are identical.

This test of mine is probably of little value, as it would have to be checked online, on the current data, with more or less up-to-date unix timestamp

I downloaded the release https://github.com/mikekonan/exchange-proxy/releases/download/v1.2.1/exchange-proxy_1.2.1_linux_arm64.tar.gz and installed it instead of my own build. I will test this variant for some time ...

response-proxy.txt

response-kucoin.txt
.

from exchange-proxy.

mikekonan avatar mikekonan commented on May 30, 2024

Q: Comparing the contents of the two files containing the klines showed that they are identical.
A: You have to call the request for pair that was filtered by age/volatility filter. And I guess that timeframe will be like 1d, for sure you can match the correct request log time.

from exchange-proxy.

mikekonan avatar mikekonan commented on May 30, 2024

Try this one - https://github.com/mikekonan/exchange-proxy/releases/tag/untagged-5ed2f32e1b9b19addfab

from exchange-proxy.

jurekl avatar jurekl commented on May 30, 2024

Sorry Mike, this link
https://github.com/mikekonan/exchange-proxy/releases/tag/untagged-5ed2f32e1b9b19addfab

takes me to 404

from exchange-proxy.

mikekonan avatar mikekonan commented on May 30, 2024

https://github.com/mikekonan/exchange-proxy/releases/tag/v1.2.6

from exchange-proxy.

mikekonan avatar mikekonan commented on May 30, 2024

There are no fixes for these issues, but more fresh version

from exchange-proxy.

jurekl avatar jurekl commented on May 30, 2024

But this is the version (1.2.6) that I have been using for several days (January 14th, I think).

commit 3f96b22542fd9dcb8656f4d1717f7e6e34d015be (HEAD -> main, tag: v1.2.6, origin/main, origin/HEAD)
Author: Mikalai Konan <[email protected]>
Date:   Fri Jan 14 15:23:58 2022 +0300

from exchange-proxy.

suikula avatar suikula commented on May 30, 2024

Hello, Im having same problems with the latest version (v1.2.6).

2022-02-09 07:28:13,811 - AgeFilter - INFO - Removed ADA/USDT from whitelist, because age 5 is less than 14 days
2022-02-09 07:28:13,812 - AgeFilter - INFO - Removed ALGO/USDT from whitelist, because age 5 is less than 14 days
2022-02-09 07:28:13,819 - AgeFilter - INFO - Removed AVAX/USDT from whitelist, because age 5 is less than 14 days
2022-02-09 07:28:13,820 - AgeFilter - INFO - Removed AXS/USDT from whitelist, because age 5 is less than 14 days
2022-02-09 07:28:13,820 - AgeFilter - INFO - Removed BTT/USDT from whitelist, because age 5 is less than 14 days
2022-02-09 07:28:13,820 - AgeFilter - INFO - Removed COTI/USDT from whitelist, because age 5 is less than 14 days
2022-02-09 07:28:13,820 - AgeFilter - INFO - Removed CRV/USDT from whitelist, because age 5 is less than 14 days
2022-02-09 07:28:13,821 - AgeFilter - INFO - Removed DOGE/USDT from whitelist, because age 5 is less than 14 days
2022-02-09 07:28:13,821 - AgeFilter - INFO - Removed DOT/USDT from whitelist, because age 5 is less than 14 days
2022-02-09 07:28:13,821 - AgeFilter - INFO - Removed ENJ/USDT from whitelist, because age 5 is less than 14 days

$ go version
go version go1.17.3 linux/arm64

from exchange-proxy.

VanessaE avatar VanessaE commented on May 30, 2024

I have this problem also. It's been a year since the last comment or commit... is this project still being maintained?

from exchange-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.