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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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