New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

commsec

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commsec

Interface to CommSec trading platform

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

CommSec trading interface for node.js

Copyright 2016-2018 Adam Nielsen <malvineous@shikadi.net>

This is a node.js interface to the CommSec mobile API. It was created by deciphering the calls made by the Android app.

While the older v0.1 of this library used screen-scraping, v0.2 has been rewritten to use only the mobile API, which is much faster and more reliable. Unlike v0.1, little attempt has been made to abstract the API into a generic interface so there is now only a lightweight wrapper around the API calls.

What is supported?

  • Login: via password or PIN.
  • Watchlists: retrieval with prices.
  • Live data: arbitrary lists of stocks via polling only (API limitation). The CommSec app polls once a second.
  • Holdings: list stocks owned, purchase price, etc.
  • Order status and history: See pending, executed and cancelled orders.
  • Trading: Orders can be placed and cancelled, but this is not well tested yet.

What is not yet supported?

  • Market-sensitive announcements.
    • These can be detected through the watchlists already but there's no method to get further info yet.

What will not be supported?

There are no plans to support these features, however patches are welcome should anyone wish to add support themselves.

  • Portfolio.
  • Banking.

Installation

npm install commsec

Example

See example.js for details.

Keywords

shares

FAQs

Package last updated on 06 Aug 2018

Did you know?

Socket

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