Cost basis must be \u003e

We tried executing an order and this is the error we got:

{“code”:40310000,“message”:“cost basis must be \u003e= minimal amount of order 1”}

Does anyone have any idea what this means?

@ali_mousavi The “cost basis” is the dollar amount of the order which Alpaca estimates before the order is placed. It’s estimated as 1) the limit price x qty (if a limit order) 2) latest bid price x qty (if a sell order) or 3) latest ask price x qty (if a buy order). The error "cost basis must be \u003e= minimal amount of order 1" is really meant to be "cost basis must be >= minimal amount of order 1" (the > symbol is an ASCII 3e). Orders smaller than $1 are not allowed. Your order amount (ie cost basis) was less than $1 so the order was rejected.

1 Like