Trying to prepare an algo for Robinhood trading, I understand that it can take 3 days for funds to settle in Robinhood after a sell is made. I tried to work this into the algo here but it doesn't seem to work. In the algo it executes the buy and sell order on the same day, which we know is not possible in Robinhood.
I'm a beginner here so I'm not sure how to make how to make this algo check to see if settledfunds are available before trading. Maybe if i could tell it to trade with only half of my account balance, I'm just not sure which is easier. Any help would be greatly appreciated. Thank you! :)