Sopel Stocks Plugin
Project description
Maintainer: @RustyBower
sopel-stocks
sopel-stocks is an stock lookup plugin for Sopel
Installing
If possible, use pip
to install this plugin. Below are example commands; you
might need to add sudo
and/or call a different pip
(e.g. pip3
) depending
on your system and environment. Do not use setup.py install
; Sopel won't be
able to load the plugin correctly.
Published release
pip install sopel-modules.stocks
From source
# Clone the repo, then run this in /path/to/sopel-stocks
pip install .
Configuring
You can automatically configure this plugin using the sopel configure --plugins
command.
However, if you want or need to configure this plugin manually, you will need to define the following in ~/.sopel/default.cfg
[stocks]
api_key = API_KEY
provider = alphavantage (or iexcloud)
Requirements
API Key (from 1 of the following providers)
https://www.alphavantage.co/support/#api-key
https://iexcloud.io/console/tokens
Python Requirements
requests
sopel
Usage
.stock msft
<sopel> MSFT $123.37 1.6 (1.31%)⬆
.stock aapl amzn goog
<sopel> AAPL $150.83 -2.51 (-1.64%)⬇
<sopel> AMZN $97.06 -5.38 (-5.25%)⬇
<sopel> GOOG $90.445 -4.215 (-4.45%)⬇
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sopel_modules.stocks-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fd4bac72153d72e174fdb41a5f0b39fb12341ddd8733e9b1d32e5891f40aa9a |
|
MD5 | c47d94a2e9e20413982b56acb296dacd |
|
BLAKE2b-256 | 203470d6927cc0f0c1a15fa0683ee29a96fd8a823bf83d17920c7abdef7b264a |
Close
Hashes for sopel_modules.stocks-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd1ee6e192b0ea65e1959e5c36f5844feb4b116f14faa46667ce4310dbef9074 |
|
MD5 | 37d291b2abc892b5c26d37e5bc83cdca |
|
BLAKE2b-256 | 3a78978024ac1d9a412e93eaf04572599f996cb503908be02c6980f3857767aa |