Giter VIP home page Giter VIP logo

binancio's People

Contributors

redet-g avatar sanchezmarcos avatar shackra avatar smartmanoj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

binancio's Issues

bot p2p

hola esta excelente lo que hiciste
me gustaria aprender de ti si es posible, y probar binancio, se ve interesante, tambien quisiera apoyarte por eth mi correo es [email protected] y celular +573233093368

There should be an option to specify the payment method?

I think there should be a way to specify the payment method like bank transfer, airtm, or any other payment method. This could be done by creating a method to enter payTypes parameter which should be an array of methods or empty to select all.

Use Binance p2p API to buy/sell programmatically

Is your feature request related to a problem? Please describe.
I've been looking for a way to buy/sell crypto using Binance p2p API (programmatically).
Wondering if you know someone working on it or if you are interested in coding it.

Describe the solution you'd like
For instance, an sdk that allows for setting up the Binance account taking the orders on the p2p market.
Fetches available orders (you already do this)
Fetch pending orders (get endpoint)
Fetch completed orders (get endpoint)
Takes orders (post buy/sell endpoint)
Fetches chat messages with merchant (get endpoint)
Send message to merchant in order (post endpoint)
Completes orders (release/payment completed post endpoints)

Describe alternatives you've considered
Headless browser?
Keep using the Binance internal API (like you did)

Bad output

Hi, I just found this great tool and test it checking the sell price of USDT in ARS but it return an odd result with max price lower than the minimun.

`βŒ₯ Collecting data for you
πŸ” Fetching page 10/10
πŸ”— Transaction type USDT @ ARS
πŸ’° 193 People offering

βŒ₯ Here I have the results
πŸ“‰ Minimun price πŸ’΅ 179
πŸ“Š Median price πŸ’΅ ✨ 170✨
πŸ“ˆ Maximun price πŸ’΅ 60`

Error on running application from Australia 🦘

Hi, i'm trying to quote BTC to AUD and the app throws this error when processing results

3️⃣  Processed results
(node:17188) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'toLocaleString' of undefined
    at /Users/<my-name>/.npm/_npx/17188/lib/node_modules/binance-p2p-bot/index.js:56:69
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:17188) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:17188) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Steps to reproduce:

1️⃣ execute npx binance-p2p-bot

2️⃣ Select:

  • crypto BTC
  • fiat AUD
  • operation Buy

3️⃣ Wait for it

Hooroo

cangaroos

Automate this bot and fetch data

I am using a react application, and I want to use this data generated from this Bot in react application.
Also, Is there a way to automate this Bot?

Cannot read property 'toLocaleString' of null

Hola, gracias por compartir tu bot, estaba probandolo y despuΓ©s seleccionar las opciones me devuelve lo siguiente:

3️⃣  Processed results

(node:10236) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'toLocaleString' of null
    at C:\Users\------\AppData\Roaming\npm\node_modules\binance-p2p-bot\index.js:55:69
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:10236) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:10236) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Historical values

Hi Marcos! Thanks for sharing this awesome tool/code with us. Do you think it could be possible to fetch historical results so we can compare min, med, max values in a range of dates?
Thanks again!!

Minimal instead of median

Hello. thanks for bot its awesome! But how can i get minimal price of all trading ads? Of course i need to tell bot the sum first, because the price is depends on sum.

Cannot load quotes

βŒ₯ I have a few questions
? Select cryptocurrency: USDT
? Select fiat currency: RUB
? Select exchange type: BUY
? Select payment method: Tinkoff

βŒ₯ Collecting data for you
πŸ” Fetching page 1

/Users/tina/.npm/_npx/ed6b2388c00496ac/node_modules/binancio/src/interview.js:49
const pagesToRun = new Array(totalPages - 1).fill(null);
^

RangeError: Invalid array length
at interview (/Users/tina/.npm/_npx/ed6b2388c00496ac/node_modules/binancio/src/interview.js:49:24)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

No decimal value! how can i get the full price information ?

Hi, i realy loved your work, im having a little problem, im trying to get the quotations USDT/BRL, and the prices only comes with no decimal value! like... Low 5, medium 5, high 6. How can i get the full price with the cents ?

sorry for being a noob in coding!

thanks

Pay-type not working

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):

  • OS: Macos Apple M1

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.