ma
micex.api
npm i micex.api
ma

micex.api

Micex (MOEX) ISS API for node.js / javascript

by Stan

0.2.2 (see all)License:ISCTypeScript:Not Found
npm i micex.api
Readme

Micex API / ММВБ API Build Status

Micex (MOEX) ISS API
http://moex.com/iss/reference/

ru

Доступ к данным ММВБ через ISS API.

Installation

npm install micex.api

  Micex = require('micex.api');

Request example

Get current USD/RUB value.

Micex.securityMarketdata('USD000UTSTOM')
  .then(function (security){
     console.log(security.node.last); // e.g. 64.04
     console.log(security);
  });

part of output

{ SPREAD: 0.009,
  HIGH: 64.7,
  LOW: 63.455,
  OPEN: 64.098,
  LAST: 64.04,
  LASTCNGTOLASTWAPRICE: -0.0359,
  VALTODAY: 303942518535,
  VOLTODAY: 4738709000,
  VALTODAY_USD: 4738709000,
  WAPRICE: 64.1404,
  WAPTOPREVWAPRICE: 0.0645,
  CLOSEPRICE: 63.8399,
  NUMTRADES: 58453,

More examples

Micex.securityMarketdata('MICEXINDEXCF'); //MICEX INDEX
Micex.securityMarketdata('RTSI'); //RTS INDEX
Micex.securityMarketdata('SBER'; //SBERBANK SHARES
Micex.securityMarketdata('RIZ5'); //FUTURES RTS 12.15

Available methods

Micex.index;
Micex.engines;
Micex.markets(engine);
Micex.boards(engine, market);
Micex.securitiesDefinitions(query);
Micex.securityDefinition(security);
Micex.securitiesMarketData(engine, market, query);
Micex.securitiesDataRaw(engine, market, query);
Micex.getSecurityInfo(security);
Micex.securityMarketData(security);

More info

Micex class - lib/mices.js
Usage examples / tests - test/micex.spec.js

Downloads/wk

6

GitHub Stars

11

LAST COMMIT

NaNyrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.2.2
latest
7yrs ago
No alternatives found
No tutorials found
Add a tutorial