Skip to main content

Analyze stock

Project description

kabutobashi

pytest codecov Code style: black Imports: isort

PythonVersion PiPY Documentation Status

concept

class-relationship.

conceptual_diagram

  • StockDataMultipleCode
    • contains multiple code & multiple date
  • StockDataSingleCode
    • contains single code & multiple date
  • Processed (Single)
    • is from StockDataSingleCode using single Method
  • Processed (Multiple)
    • is from StockDataSingleCode using multiple Method
  • Estimated (Single)
    • is from Processed (Multiple) using single EstimateFilter
  • Estimated (Multiple)
    • is from Processed (Multiple) using multiple EstimateFilter

usage

import kabutobashi as kb

file_path_list = [...]
sdmc = kb.reader.csv(file_path_list)
for sdsc in sdmc.to_code_iterable():
    processed = sdsc.to_processed(methods=kb.methods)
    print(processed.get_impact())


# n日前までの営業日の日付リストを取得する関数
target_date = "2020-01-01"
date_list = kb.get_past_n_days(target_date, n=40)

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

kabutobashi-0.3.1.tar.gz (30.5 kB view hashes)

Uploaded Source

Built Distribution

kabutobashi-0.3.1-py3-none-any.whl (46.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