Skip to main content

Download and Store financial data.

Project description

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

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

jamesbot-0.1.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

jamesbot-0.1.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file jamesbot-0.1.2.tar.gz.

File metadata

  • Download URL: jamesbot-0.1.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for jamesbot-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3d9e0f7b30cb3854a5c3bbc06b9f96ae4d218cd196b1bb207fde9234b4f8f0cb
MD5 a9c6aa2df99299c95c8febd4179e0a4d
BLAKE2b-256 060241d44195057bf4c6f821eb1ceacf9604225eed6bf6f4b63f3ff72376ffd1

See more details on using hashes here.

File details

Details for the file jamesbot-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: jamesbot-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for jamesbot-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e7d4d16024d883be281393fc582939e4004fcf18a19e945d50efd972704568c
MD5 66baab51844c8dd014b13c957985e574
BLAKE2b-256 6b9de3063ad57613f83304a5a8e30a5b0b5360baafc4329d2d3a73747fe22ef3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page