sanchezmarcos / binancio

Binancio calculates median price of any crypto-asset in fiat currency on Binance's p2p exchange right on your console.
https://sanchezmarcos.me/aplicaciones/binancio
MIT License
116 stars 53 forks source link

Pay-type not working #20

Closed baimurzin closed 1 year ago

baimurzin commented 1 year ago

Describe the bug

npx binancio --ticker USDT --fiat RUB --operation BUY --pay-types Tinkoff when use this line, I got "Fetching page 1" in console and script finish working. Instead of getting results. This bug I saw only with Tinkoff pay-types

To Reproduce run script with this command: npx binancio --ticker USDT --fiat RUB --operation BUY --pay-types Tinkoff see no results, but they are in binance

Desktop (please complete the following information):

sanchezmarcos commented 1 year ago

Hello, how are you? Looking at the request and the binance url, they refer to it as TinkoffNew instead of Tinkoff.

https://p2p.binance.com/en/trade/TinkoffNew/USDT?fiat=RUB

Captura de pantalla 2023-02-01 a la(s) 18 37 45

However, putting as payment type TinkoffNew says it is wrong and Tinkoff is correct. It seems to be an internal Binance technical inconsistency, not a Binancio problem.

Captura de pantalla 2023-02-01 a la(s) 18 40 08

If you find more information please add it, thank you!

sanchezmarcos commented 1 year ago

Update Maybe there is an error in our http request assembly. I will do some more tests and update.

baimurzin commented 1 year ago

Ok, whats up? Did you find out something on this issue?

sanchezmarcos commented 1 year ago

It is definitely an internal Binance problem related to that type of payment method. Sorry!