Socket
Socket
Sign inDemoInstall

@narative/oanda-v20

Package Overview
Dependencies
0
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @narative/oanda-v20

OANDA v20 bindings for Javascript


Version published
Weekly downloads
32
increased by966.67%
Maintainers
2
Install size
3.89 MB
Created
Weekly downloads
 

Readme

Source

OANDA v20 (Narative fork)

Why

  • Typescript friendly (WIP)
  • Bug fixing

Installation

yarn add @narative/oanda-v20

Usage

import * as oandaAPI from '@narative/oanda-v20'

const client = new oandaAPI.Rest('my-app-name', '1234567890qwfpgjluy1234567890', true) // user token on OANDA practice server
const result = await client.account.list()
console.log('OANDA result', result) // should show the data from GET /v3/accounts (https://developer.oanda.com/rest-live-v20/account-ep/)

Publish

  • update version in package.json
  • yarn build
  • npm publish

FAQs

Last updated on 04 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc