Is it possible to do algo trading without holding your funds in exchanges?

I’ll coming from crypto industry where holding money in exchange is a foolish thing. I usually kept it off exchange in cold wallet however since I’m getting into alto trading, how can i minimize keeping funds on exchange as much as possible?

Mainly I plan to make bots using python.