https://github.com/rickycodes/ftse-rs
scrape and filter hl.co.uk market summaries
https://github.com/rickycodes/ftse-rs
cli rustlang
Last synced: 4 months ago
JSON representation
scrape and filter hl.co.uk market summaries
- Host: GitHub
- URL: https://github.com/rickycodes/ftse-rs
- Owner: rickycodes
- Created: 2020-09-01T00:20:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-13T17:03:34.000Z (over 4 years ago)
- Last Synced: 2024-12-30T19:26:37.367Z (over 1 year ago)
- Topics: cli, rustlang
- Language: Rust
- Homepage:
- Size: 55.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ftse-rs [](https://travis-ci.org/rickycodes/ftse-rs)
scrape and filter hl.co.uk market summaries
#### USAGE:
```
ftse [FLAGS] [OPTIONS]
FLAGS:
-f, --fallers Limit the results to fallers only
-h, --help Prints help information
-r, --risers Limit the results to risers only
-t, --table Render output as table
-V, --version Prints version information
OPTIONS:
-l, --limit Limit the results to a specific number
-m, --market Specify which market, either aim or 100 (ftse-100) [default: aim]
```
### FEATURES:
`jq` compatible:
```
ftse | jq '.[0]'
{
"epic": "ABDP",
"name": "AB Dynamics plc",
"price": "0.00",
"change_amount": "0.00",
"change_percent": "0.00%"
}
```
"fancy" table output:
```
ftse -l=4 -t
+------+--------------------------------------+--------+----------+--------+
| EPIC | NAME | CHANGE | CHANGE % | PRICE |
+------+--------------------------------------+--------+----------+--------+
| ABDP | AB Dynamics plc | 0.00 | 0.00% | 0.00 |
+------+--------------------------------------+--------+----------+--------+
| ABC | Abcam plc | +46.00 | +3.65% | 0.00 |
+------+--------------------------------------+--------+----------+--------+
| AMS | Advanced Medical Solutions Group plc | +5.00 | +2.22% | 230.00 |
+------+--------------------------------------+--------+----------+--------+
| APH | Alliance Pharma Plc | -1.70 | -2.30% | 72.30 |
+------+--------------------------------------+--------+----------+--------+
```