In short, I would like to convert the 'order_target_percent' function to a simple 'order' function.
So, instead of: order_target_percent(stock, weight)
I would like to write: order(stock, num_of_shares)
Also, I would like to sell any shares that I own but need to sell.
Is anyone so kind to post the code for how to do the transition, please?