In that case I guess your implementation is not correct. Did you checked on simple examples that it actually computes the multi class squared hinge loss?
Also you can try to compare it to other implementations online (google search returned: https://github.com/HaotianMXu/Multiclass_LinearSVM_with_SGD 3 for example).