I am using the REST API for paper trading (setup with $2,000 account balance) and I see the following error response :-
ALPACA order request (BUY):
{'symbol': 'NIO', 'qty': 10, 'side': 'buy', 'type': 'limit', 'limit_price': 13.92, 'time_in_force': 'day', 'order_class': 'bracket', 'take_profit': {'limit_price': 13.959861396981603}, 'stop_loss': {'stop_price': 13.880138603018397}}
ALPACA order response (BUY):
{'code': 40310100, 'message': 'trade denied due to pattern day trading protection'}
Can someone help me understand what is going on here ?
This is not the first time I am seeing this since morning and I am losing a lot of trades because of this.
TIA.