Code Monkey home page Code Monkey logo

biscoint-api-node's People

Contributors

bolaum avatar caioaabrantes avatar dependabot[bot] avatar eduardofischer avatar itxtoledo avatar jonathascarrijo avatar lzkill avatar mejnour avatar sttress avatar thiagosouza avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

biscoint-api-node's Issues

Falha API balance não retorna valor em reais, só bitcoins

Estou rodando o robô de arbitragem e está dando falha na consulta da API balances:

balances = await bc.balance();
const { BRL, BTC } = balances;
handleMessage(Balances: BRL: ${BRL} - BTC: ${BTC} - ${JSON.stringify(balances)});

Ele acaba imprimindo esse valor zerado para reais, independentemente do valor de BTC

2021-07-20T09:22:43.864Z [Biscoint BOT] [info] - Balances: BRL: 0.00 - BTC: 0.00276863 - {"BRL":"0.00","BTC":"0.00276863"}

Parece que há algum problema no response da API do lado do servidor que não retorna o valor em reais, só em bitcoins.

Constantly receiving "Invalid authorization headers" response

While playing around with Biscoint's node client, I constantly get this response in the authenticated endpoints:

{ 
  code: 4003,
  error: 'Forbidden',
  details: 'Invalid authorization headers' 
}

I suspect the issue is related to the nonce or the actual request signing.

question: searching a currency value by date and time

It's more a question to resolve a question, looking at the documentation I realized that there is no endpoint where I can get a value of a currency passing a date and time as a parameter.

This is not available in the biscoint API, but might this be possible in some other API?

I believe I've looked at more than 10 other services and I don't find this type of query.

Feature request: proxy config

Right now it's not possible to config Axios with credentials to a http proxy. That would definitely extend the options one have to deploy trade bots.

Feature request: historical data endpoint

The majority of automatic trade bots use technical indicators like moving averages, oscillators and so on. Without historical price data from Biscoint there's no way to precisely initialize indicators. The only option is to let the program run dry for the number of periods required for the indicator, only to get prices and build the right value. Example: a 20 period EMA watching a 1 day time frame would take 20 days to get properly initialized.

A good historical price endpoint would receive the base coin, the op, the time frame and the number of registries to return. This idea is common place in the MetaTrader world, where the broker provides sets of past data.

Bug: divergence on ETH amount

I'm constantly getting divergence on the ETH amount after buy operations. The amount returned by confirmOffer doesn't match the value shown by the app. This behaviour has not been seen on BTC operations yet, suggesting that the new ETH features might be flawed.

positions

resized-image-Promo

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.