pybottrader API documentation

# pybottrader

# PyBotTrader - A library to build trader bots

PyBotTrader is an experimental Python library designed to help create trading bots, particularly for retail traders. It offers tools for real-time financial analysis, including indicators like moving averages (like MA, EMA, RSI, MACD, and ROI), which update dynamically with new data. The library includes data streamers to handle sequential data from sources like CSV files or the YFinance API, and basic portfolio managers for back-testing simple buy/sell strategies. Users can define custom strategies that integrate data streams, indicators, and decision-making rules to generate trading signals. A basic trader module is included for testing strategies, making the library a versatile framework for algorithmic trading experimentation.

Installation:

    pip install pybottrader

View Source

     1"""
     2# PyBotTrader - A library to build trader bots
     3
     4PyBotTrader is an experimental Python library designed to help create trading
     5bots, particularly for retail traders. It offers tools for real-time financial
     6analysis, including indicators like moving averages (like MA, EMA, RSI, MACD, and
     7ROI), which update dynamically with new data. The library includes data streamers
     8to handle sequential data from sources like CSV files or the YFinance API, and
     9basic portfolio managers for back-testing simple buy/sell strategies. Users can
    10define custom strategies that integrate data streams, indicators, and
    11decision-making rules to generate trading signals. A basic trader module is
    12included for testing strategies, making the library a versatile framework for
    13algorithmic trading experimentation.
    14
    15Installation:
    16
    17```
    18pip install pybottrader
    19```
    20"""
    21
    22from .indicators import *  # Import the C++ module directly