I'm on a demo account, would that be the issue?

I don't have problems accessing dtc data through python