Asset pricing with general transaction costs: Theory and numerics. (6th February 2021)