Hello !
I am a Beginner on Quantopian
I try to understand the function order_target_percent
For exemple supposing The Apple Action Costs 1000 Dollars per units.
I have 100 000 Dollars and I use order_target_percent(context.aapl,0.50)
So The Function will buy for 50 000 Dollars
But now If the cost pass to 2000 Dollars
My portfolio value is 50*2000+50000 Dollars = 150000 Dollars
So will the function buy now 12,5 Actions of Apple to reach 75 000 Dollars in Apple Actions please ?
Thank you !
Sorry for my English, I'm French !
Have a nice day ; )