Python package for DecisionForest API access
Project description
DecisionForest Python
Python package for DecisionForest API access
Installation
The installation process varies depending on your python version and system used. However in most cases the following should work:
pip install decisionforest
Configuration
Sign up at DecisionForest and get the API key
import decisionforest
decisionforest.Config.KEY = 'testkey890123456789012345678901234567890'
Getting Data
The most basic call needed to retrieve a dataset (returns all the data available for a dataset):
python
import decisionforest
decisionforest.Config.KEY = 'testkey890123456789012345678901234567890'
df = decisionforest.get('SMD')
Another example that returns data by date and symbol:
python
import decisionforest
decisionforest.Config.KEY = 'testkey890123456789012345678901234567890'
df = decisionforest.get('SMD', date='2018-12-28', symbol='AAPL')
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
DecisionForest-1.2.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for DecisionForest-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17bf0e15c005b3db5f48fe29f46f5d6a8e280d14bd4bece634f247c3ba3ba398 |
|
MD5 | ea503260f0e169d4313742d94fa75c18 |
|
BLAKE2b-256 | a05f6dd182b4c11ad2d12baed041cda6ef20ff00e63d7cc59f0dd9a344353a54 |