Closed SeverinJB closed 2 years ago
stragey_scalping calls invalid attribute in def function __get_signal(self, data) > cost_basis = float(position.avg_entry_price)
Alpaca strategy requires avg_entry_price.
Fix by
Fixed with the steps listed above. However, it will have to be optimised if executors behave differently then the current Alpaca.
stragey_scalping calls invalid attribute in def function __get_signal(self, data) > cost_basis = float(position.avg_entry_price)
Alpaca strategy requires avg_entry_price.
Fix by