Hello quantopian community!
I am new to programming and i find quantopian to be an awesome tool to work it.
I am building an algo that rebalance my portfolio 1 minute before close. I would like the add a constraint that says that if the trade value is less than 5% of the portfolio value at the time of the trade, we should not reblance. Is there any ways that could be done in quantopian?
Sorry if that has been answered eslewhere, i tried searching or it but could not find anything.
(English is not my 1st language. Sorry if the post is somewhat confusing)
Thanks a lot
Mathieu