Python package for DecisionForest API access
Project description
DecisionForest Python
![CI status](https://pypi-camo.freetls.fastly.net/036675e54b7104cf9270c5746467dc9d4ca8aafb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c642d70617373696e672d627269676874677265656e2e737667)
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.0.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for DecisionForest-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 458f953a379a8ff784fcf92b54cd2dcc140fe5a02a31e1ce263bd633f9eb8d54 |
|
MD5 | fcd4e8fbde82e5c7ba31d9f3d0e03a57 |
|
BLAKE2b-256 | 10b9b9fec9bf28cc82ea35b421afa369008ca0dbe8a249f2e3de6de0d9c673a8 |