Equity is 30k buying power is 0

Hello i have started testing a day trading algo and im experiencing a strange issue .
I have no open positions , i have an equity of 32k and last day i had 120k of buying power.
Now its one zero?
What causes this ?
Did anyone else experienced this ?

My algo is a day trading algo