An open API service indexing awesome lists of open source software.

https://github.com/rickycodes/ftse

scrape and filter hl.co.uk market summaries
https://github.com/rickycodes/ftse

Last synced: 10 months ago
JSON representation

scrape and filter hl.co.uk market summaries

Awesome Lists containing this project

README

          

## ftse

scrape and filter hl.co.uk market summaries

#### install
```sh
$ npm install --save ftse
```

#### usage
```js
var ftse = require('ftse')('aim', 20, null, function(items) {
console.log(items) // Array
})
```

#### cli
```
$ npm install --global ftse
```

![example](http://i.imgur.com/IAeP72X.gif)

##### options

The following options are available:

```
--market=market -m=market
Specify which market, either `aim` or `100` (ftse-100)

--limit=num -l=num
Limit the results to a specific number

--risers -r
Limit the results to risers only

--fallers -f
Limit the results to fallers only

--table -t
Render output as table
```

##### usage

```sh
ftse --market=100
=> `...`

ftse --market=aim --limit=5
=> `...`

ftse --market=aim --limit=5 --risers
=> `...`

ftse --market=aim --limit=10 --fallers
=> `...`

ftse --version
=> 1.0.1
```