open-index/open-npm huggingface dataset:
npm package: 1broker
Description: NodeJS wrapper for the 1broker.com API
Author: boxxa
Latest version: 0.1.1

##1Broker.com API
Provide basic access to the www.1broker.com API found here:

https://1broker.com/?c=api_documentation

API provides a NodeJS wrapper for the API and returns the JSON formatted results per the API spec. Will update as API evolves and orders API is coming soon.

**Bitcoin:** 1MbRSzoCJkiydxfxAjZdMbej37dp5pkLNN

**1Broker:** https://1broker.com/m/r.php?i=2711

**BitGold:** https://BitGold.com/r/ARKmcl

####Usage
```
npm install 1broker
```
app.js
```
var oneBroker =  require('1broker');
var oB = new oneBroker('abcd1234'); // Replace with your API key
```
###Functions

** Acccount **

accountInfo()

accountAddress()

** Position **

positionList()

positionEdit(position_id)

** Market Data **

marketList()

marketDetail(symbol)

marketQuotes(symbols)
npm package: 1broker-positions-analyser
Description: 1broker positions analyser
Author: Thomas Sileghem
Latest version: 1.2.1

# 1broker-positions-analyser [![Build Status](https://travis-ci.org/mastilver/1broker-positions-analyser.svg?branch=master)](https://travis-ci.org/mastilver/1broker-positions-analyser)

> 1broker positions analyser


## Install

```
$ npm install -g 1broker-positions-analyser
```

## Usage

```
$ 1broker-positions-analyser --help
Usage
  $ 1broker-positions-analyser <positions csv path>

Options
  --day    Display results day by day
  --week   Display results week by week
  --month  Display results month by month
  --year   Display results year by year
  --spread Spread earning and loses across the days a position is open

Examples
  $ 1broker-positions-analyser ~/Downloads/position_history_2017-01-01_2017-07-23.csv --month
  2017-06: -0.2677
  2017-07: -0.1143
```

## License

MIT © [Thomas Sileghem](http://mastilver.com)