Skip to content

lwhuang/whalefin-api-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whalefin-api-rest

npm install github:lwhuang/whalefin-api-rest

API wrapper for the whalefin REST API. Please refer to their documentation for all calls explained. Check out example.js for lib usage.

This is a fork based of library: https://github.com/askmike/ftx-api-rest

Usage

See example.js.

const WhalefinRest = require('whalefin-api-rest');
const whalefin = new WhalefinRest({
        key: 'your_key',
        secret: 'your_secret',
        production: false   //false for test node, true for production node
});
const asset = await whalefin.request({
        method: 'GET',
        path: '/api/v2/asset/balance'
    });
console.log('asset', asset);

TODO

Final

If this library is helping you trade better on whalefin feel free to use my ref link.

About

simple rest API wrapper for whalefin

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published