Skip to main content

JamesBot

My name is Bot, I'm a James.

JamesBot is a python package that downloads and retains financial data from Yahoo Finance API and Bloomberg API, making possible to load financial time series previously loaded locally.

Installation

Install JamesBot package using pip:

 pip install jamesbot --upgrade

How to use

from jamesbot import *

dl = DataLoader() # creates DataLoader
df = dl.load('AMZN','2014-07-01', '2021-04-01') # loads Amazon's stock price 

print(df) # prints DataFrame

Bloomberg API

If you have a Bloomberg API License, it is also possible to load data from it. When getting data, you must have Bloomberg's Terminal open in your machine.

p.s: Note that Bloomberg ticker's names must include the market's name.

from jamesbot import *

dl = DataLoader(source='bloomberg') # creates DataLoader
df = dl.load('AMZN US Equity','2014-07-01', '2021-04-01') # loads Amazon's stock price 

print(df) # prints DataFrame

Metadata

Release files for jamesbot 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jamesbot 0.1.2
File Size Uploaded Provenance Actions
jamesbot-0.1.2.tar.gz 4.2 kB Without provenance Details for jamesbot-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jamesbot 0.1.2
File Interpreter ABI Platform Actions
jamesbot-0.1.2-py3-none-any.whl Python 3 none any Details for jamesbot-0.1.2-py3-none-any.whl

Total release size: 10.5 kB

Release files / jamesbot-0.1.2.tar.gz

Download URL jamesbot-0.1.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3d9e0f7b30cb3854a5c3bbc06b9f96ae4d218cd196b1bb207fde9234b4f8f0cb
BLAKE2b-256 checksum
How to use checksums
060241d44195057bf4c6f821eb1ceacf9604225eed6bf6f4b63f3ff72376ffd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Release files / jamesbot-0.1.2-py3-none-any.whl

Download URL jamesbot-0.1.2-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e7d4d16024d883be281393fc582939e4004fcf18a19e945d50efd972704568c
BLAKE2b-256 checksum
How to use checksums
6b9de3063ad57613f83304a5a8e30a5b0b5360baafc4329d2d3a73747fe22ef3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Security for jamesbot 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page