Sopel Stocks Plugin
Project description
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
https://www.alphavantage.co/support/#api-key
https://iexcloud.io/console/tokens
Python Requirements
requests
sopel
Usage
.stock djia
DJIA $26559.5 110 (0.42%)⬆
.stock msft
MSFT $123.37 1.6 (1.31%)⬆
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
Close
Hashes for sopel_modules.stocks-1.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09c5b080f8c42e5d864403dc215bc3233f1058638d48774d78bb25973a301d6b |
|
MD5 | d60c4edb42881eb88365afa1525f7286 |
|
BLAKE2b-256 | e4ec717f559462178f6f007449a445b4cf3b16e3e060864a98291d446a689b36 |