satoshinaire / kucoin-api Goto Github PK
View Code? Open in Web Editor NEWnpm module for the KuCoin API.
License: MIT License
npm module for the KuCoin API.
License: MIT License
Is there a way to get the complete history of all coins rather than just one?
Hi mate,
I'm pretty sure your api is right, however I've been getting this error {code: "UNAUTH", msg: "Invalid nonce", success: false, โฆ} when I try to test the api with my keys.
Do you have any idea of what might be causing this?
From your description:
params {pair: string} The trading pair to retrieve price ticker for. (optional, default {})
However, the parameter appears to be mandatory.
I expected to be able to put out one API call and get all tickers in a single response, is this not how it works?
kc.getTicker().then((result) => {
var array = result.data
console.log(array)
})
.catch((err) => {
console.log(err)
})
Gives me this error:
{ NotFoundError: {"timestamp":1515632321281,"status":404,"error":"Not Found","message":"No message available","path":"/undefined/open/tick"}
at ClientRequest.onResponse (c:\Trader\Logic\node_modules\restify-clients\lib\HttpClient.js:217:26)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at HTTPParser.parserOnIncomingClient (_http_client.js:551:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:117:23)
at TLSSocket.socketOnData (_http_client.js:440:20)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
jse_shortmsg: '',
jse_info: {},
message: '{"timestamp":1515632321281,"status":404,"error":"Not Found","message
":"No message available","path":"/undefined/open/tick"}',
body:
{ timestamp: 1515632321281,
status: 404,
error: 'Not Found',
message: 'No message available',
path: '/undefined/open/tick' } }
if not, I can take care of the rest of this project and put the fix for nonce error
First of, I've already placed 287 succesful orders with this library.
Today, all of the sudden, I began getting orders when placing an order.
As this is a fully automated trader, it is programmed to try again when getting an error.
However, although the response was an error, all orders were succesfully posted and filled, so something must have gone wrong, but I have no idea what.
Errorlog:
{ NotFoundError
at ClientRequest.onResponse (C:\Trader\Logic\node_modules\restify-clients\lib\HttpClient.js:217:26)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at HTTPParser.parserOnIncomingClient (_http_client.js:551:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:117:23)
at TLSSocket.socketOnData (_http_client.js:440:20)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12) jse_shortmsg: '', jse_info: {}, message: '', body: {} }
Hey, I saw you have this published on npm: https://www.npmjs.com/package/kucoin-api
I have a bunch of SDKs and wanted to work with kucoin next. Tried to email you too but got an error. Do you plan on publishing any updates? If not, can I take over the npm package?
One of my other SDKs for example, you can see I use the same naming pattern: https://www.npmjs.com/package/bybit-api
If you're happy to do so, would hugely appreciate if you could transfer the npm module to my npm user tsts123
https://www.npmjs.com/~tsts123
Then when I'm finished making a new SDK, I can publish a new version as kucoin-api
on npm.
Happy to chat on telegram too if you're on telegram: https://t.me/AlgoTraderL
Thanks for your time!
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.