Good morning.
I received an NSF order error on a building block strategy that uses a single ETF. The Strategy settings uses Position Size:Percent of Equity and Percent: 100%. It uses single symbol.
In the strategy Monitor, it is set to activate and auto-place. Position Size was set to 99.99%.
The auto-placed order received an error in the Order Manager. However, I placed a manual order through the Order manager and it correctly went through. I do not see the NSF order on Alpaca's history.
I know it is not good to use 100% in the strategy monitor, but I would think 99.99% would've mitigated an NSF error?
I received an NSF order error on a building block strategy that uses a single ETF. The Strategy settings uses Position Size:Percent of Equity and Percent: 100%. It uses single symbol.
In the strategy Monitor, it is set to activate and auto-place. Position Size was set to 99.99%.
The auto-placed order received an error in the Order Manager. However, I placed a manual order through the Order manager and it correctly went through. I do not see the NSF order on Alpaca's history.
I know it is not good to use 100% in the strategy monitor, but I would think 99.99% would've mitigated an NSF error?
Rename
Did this error come from the broker as the order was getting processed? Or was it a position that wound up as NSF in the backtester and never got submitted?
Hi Glitch,
The error was found in the Order Manager, unfortunately I restarted the client before writing down the exact error. However, I do remember the order quantity being in dollars ($) instead of shares, which I found interesting. Is there a log I can check to help answer your question?
The error was found in the Order Manager, unfortunately I restarted the client before writing down the exact error. However, I do remember the order quantity being in dollars ($) instead of shares, which I found interesting. Is there a log I can check to help answer your question?
The Quantity would be in dollars if you select "Next Bar Open Price" as the Basis Price in Position Sizing. This activates the feature to express position size in dollars instead of shares/contracts. It's supported by some but not all brokers.
If the error occurred in the Order Manager I think it simply means the account had insufficient funds to fill the order. Perhaps the price gapped up too much at open. I would guess it's a cash and not margin account? The solution would be to reduce position size further, maybe 95%.
If the error occurred in the Order Manager I think it simply means the account had insufficient funds to fill the order. Perhaps the price gapped up too much at open. I would guess it's a cash and not margin account? The solution would be to reduce position size further, maybe 95%.
Understood. Thank you for your help.
Your Response
Post
Edit Post
Login is required