Then i would suggest that you have a trading stack on an exchange (e.g. binance) and write a small program which does buy/sell depending on your logic via binance's API.
Exchanges are trading platforms. You buy or sell Bitcoin for other currencies (exchanging BTC, essentially). Think Forex (foreign exchange) for cryptocurrency. You'd get far better rates at most exchanges than Shapeshift, but at the sacrifice of time and convenience. Probably also not friendly to your ML scripts.
Thank you guys. Definately these are useful guidelines that put me on track to start to explore cryptocurrencies.
It is not a big amount that I'm going to invest; at the moment I will only test the water and see how it goes.