Quoted By:
hello, I didn't even know you could sell shares into the negatives, usually if you try to make an invalid call the server just refuses with an error. I was selling back my shares and didn't realize I was already at zero. trial dev contacted me after and we've been sorting it out.
Also you can't "stop people from using the api", the api is what you're using when you're using the site, it's not any sort of special back channel. It's an easy bug to fix for them, they're already doing checks on every other calls, they probably just forgot to do it here. I don't know why it's taken them so long if it was already known...