biscoint / biscoint-api-node Goto Github PK
View Code? Open in Web Editor NEWNodeJS library for interacting with biscoint.io's API.
License: MIT License
NodeJS library for interacting with biscoint.io's API.
License: MIT License
The documentation page shows a base
parameter on the trades
endpoint, but ITradesParams
doesn't have it.
How can one test the api without live real money on the line?
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.
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.
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.
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.
Do yous guys have any plans to allow ETH or USDT on the trading methods?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.