I have a strange issue with the API.
Letâs say I own 90 shares of METC_US_EQ. I try to sell 1 via the API and I get:
Selling 1 x METC_US_EQ
{âcodeâ: âSellingEquityNotOwnedâ, âclarificationâ: âSellingEquityNotOwnedâ}
So I use the API to buy one instead and it works:
Buying 1 x METC_US_EQ
{âstrategyâ: âQUANTITYâ, âidâ: 39911966885, âtypeâ: âMARKETâ, âtickerâ: âMETC_US_EQâ, âquantityâ: 1, âfilledQuantityâ: 0, âstatusâ: âNEWâ, âcreationTimeâ: â2025-10-07T20:44:46.636+03:00â, âextendedHoursâ: False}
I try selling again, only this one, and it also works:
Selling 1 x METC_US_EQ
{âstrategyâ: âQUANTITYâ, âidâ: 39911967056, âtypeâ: âMARKETâ, âtickerâ: âMETC_US_EQâ, âquantityâ: -1, âfilledQuantityâ: 0, âstatusâ: âNEWâ, âcreationTimeâ: â2025-10-07T20:45:41.664+03:00â, âextendedHoursâ: False}
Now I try selling another one but no luck:
Selling 1 x METC_US_EQ
{âcodeâ: âSellingEquityNotOwnedâ, âclarificationâ: âSellingEquityNotOwnedâ}
I do have 90 shares though!
Do I need to buy them via the API to be able to sell them via the API as well?
Many thanks,
David