Two Intra-day Trading Plotting Tools with Alpaca and Python

This first Python script is a unique intra-day plotting tool that uses Alpaca’s API. It fetches minute OHLC data, applies advanced transformations and filters, and identifies local minima and maxima. These features allow it to highlight potential trading opportunities. The script also generates a detailed plot of the data, providing a visual representation of the stock’s performance throughout the day. Its flexibility, thanks to the use of command-line arguments for customization, makes it a versatile tool for various trading strategies.

git clone https://github.com/JOravetz/Example_Minute_Stock_Plot.git

The second Python script is a robust intra-day plotting tool that uses Alpaca’s API to fetch minute OHLC data for a specified stock symbol. The script stands out for its use of advanced data processing techniques, including Tolgi filtering to reduce noise and peak detection to identify potential trading opportunities. The script also computes attributes for an autoregressive volatilities and orderliness (AVO) model, which can provide further insights into the stock’s performance.

The script’s capabilities extend beyond data processing to include detailed data visualization. It generates a comprehensive plot of the market data, including the original and filtered data, trend lines, and identified peaks and troughs. This visual representation can help traders better understand the stock’s intra-day performance and identify potential buy or sell signals. The script also includes a feature to fetch the company name corresponding to the stock symbol, providing additional context for the analysis.

git clone https://github.com/JOravetz/Stock_Analysis_and_Visualization.git