Process FINRA Short Daily Data feeds
Project description
FINRAShortData
Process FINRA Short Daily Data feeds
Prerequisite
-
FINRA Developer Credentials are required. If you do not yet have an account, create one here.
-
Once you have access, you will need to create an API key. Daily Short Data feeds are free. click here to create API credential and follow the instructions.
Install
To install the package type:
pip install finrashortdata
Quick start
Authenticate
from finrashortdata import auth
token = auth(client_id=<your api client id>, secret=<your api secret>)
Example 1: Basic data loading & processing
from finrashortdata import process
import pandas as pd
df : pd.DataFrame = process(token)
Example 2: load latest data
from finrashortdata import get_chunk_and_size, process
chunk, max_data = get_chunk_and_size(token)
df : pd.DataFrame = process(token=token, offset=max_data-10*chunk)
Licensing
Questions & Comments
Use the Issues section
Contributing
If you'd like to contribute to the project, drop me a line at mailto:amor71@sgeltd.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
finrashortdata-0.0.13.tar.gz
(16.5 kB
view hashes)
Built Distribution
Close
Hashes for finrashortdata-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48cfdd3b5b8078e9a2b96009263bc84ffc6977e9310dfd108cdb384a055b2988 |
|
MD5 | 8b04ea8ef99efb6a911ff333ff79dddc |
|
BLAKE2b-256 | 603c98816b096dab2b9cac37c39e761b0daee401ab8946c11ed84221f99bb412 |