ftx-api icon indicating copy to clipboard operation
ftx-api copied to clipboard

Node.js connector for the FTX.com & FTX.us APIs and WebSockets, with TypeScript & browser support.

Results 16 ftx-api issues
Sort by recently updated
recently updated
newest added

Hello everyone, TokenBot is partnering with our [Node.js Algo Traders](https://t.me/nodetraders) community for an exclusive $TKB airdrop ahead of their exchange listings. TokenBot is a tokenized blockchain-enabled network for algorithmic traders....

After 1 hour of working, websocket connection crashes. Do I need to response on this: `[ 'Websocket event: ', '{"type":"pong"}' ]` ? Is there any method like this or something?...

Bumps [terser](https://github.com/terser/terser) from 5.6.1 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...

dependencies

Done: - [x] Typescript definitions for REST endpoints Fixes #75

I noticed that after I instantiate (the websocket) client, and then try to `ws.close` I am still connected. Is it possible to terminate connection completely? I am asking because I...

bug

Request for strongly typed response types in Typescript

enhancement
good first issue

In my case, placeOrder function in RestClient is not working with Leverage how can I place futures order with leverage???? This order using placeOrder function is always placed with no...

https://github.com/tiagosiebler/ftx-api/blob/master/src/websocket-client.ts#L354 Any `emit` calls in the ws client should be wrapped in try/catch, otherwise an exception thrown in implementation code (outside the connector) might trigger the error handlers inside the...

enhancement

example: 15min ![image](https://user-images.githubusercontent.com/19546371/147873003-6446789c-5f51-452c-8252-33dd78a6c9bd.png) I first get the historical data through the gethistoricalprices interface, and then push the latest data through WS 15 minutes later?

Executing this script with `npx ts-node test.ts` for example never terminates. ``` const { RestClient } = require("ftx-api"); const init = async () => { new RestClient("credentials.key", "credentials.secret"); }; init()...