What model of SBMS do you have ?
Shunt's for all models will be on the positive side.
You need to set the shunt resistance correctly so that current will be measured accurately. Also battery capacity will need to be set correctly.
The SOC is calculated by integrating the current over time.
Say you have a 300Ah battery and overnight means about 12h and battery showed 20% after being full at 100% that means 80% of 300Ah = 240Ah used over 12 so an average of 20A discharge current showed by the shunt.
If your shunt shows 20A but you know that is not the real current it means you either set the current shunt resistance incorrectly in the SBMS menu or zero offset calibration was done incorrectly at last SBMS0 power up (current flowed trough the shunt at power up if the SBMS is not able to turn OFF all your charges and loads).