alpaca-backtrader-api icon indicating copy to clipboard operation
alpaca-backtrader-api copied to clipboard

Alpaca Trading API integrated with backtrader

Results 65 alpaca-backtrader-api issues
Sort by recently updated
recently updated
newest added

Addresses #129 and adds a parameter to control the timeout.

The [multiple indicators example](https://github.com/alpacahq/alpaca-backtrader-api/blob/master/sample/strategy_multiple_indicators.py) throws an error with the following config and real API keys ``` IS_BACKTEST = False IS_LIVE = True symbol = "AAPL" ``` ``` $ python live_v3.py...

Run the included "multiple datas" example. Only seems to subscribe to the first ticker specified.

As we can see the repository has no predefined Issue template, because of which there is non uniformity(all issues look the same) in the issues section. GitHub has recently rolled...

with multiple assets a bt strategy does not start reliably every time. sometimes it works, sometimes not. the only explanation for me seems, that if there are no quotes from...

Hi there, I think there is an inconsistency between the implementation of backtrader `StopLimit` order and the alpaca-backtrader-api implemntation of Stop-Limits. According to backtrader (https://www.backtrader.com/docu/order-creation-execution/order-creation-execution/#stoplimit): - parameter `price` is the...

When running readme paper trading sample - CPU utilization is ~100%. Most of the cpu ticks spent in the following loop of alpacastore.py (_t_order_create): ``` while True: try: if self.q_ordercreate.empty():...

I copied the example from the README exactly, I did not change anything except for modifying the API key , secret key and having the following setting: IS_BACKTEST = True...

When I run the sample code of the SMACross backtest and use ALPACA_PAPER = True. Everything runs fine. Question 1 - is that actually hitting alpaca? to pull historical data...

I adapted the following code from the `README.md`: ``` import alpaca_backtrader_api import backtrader as bt from datetime import datetime ALPACA_API_KEY = "..." ALPACA_SECRET_KEY = "..." ALPACA_PAPER = True store =...