Estimate fee charges
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Bearer {token here}' -d '{
"account_number": "12345678@vision",
"symbol": "TSLA",
"quantity": 50,
"side": "sell",
"price": 230
}' 'https://api.lime.co/pricing/fees'
Response example
[
{
"amount": 0.03,
"type": "ORF"
},
{
"amount": 0.06,
"type": "OCC"
},
{
"amount": 0.45,
"type": "PerShare"
},
{
"amount": 0.03,
"type": "SEC"
}
]
The method returns estimated fees for specified order parameters, breaking down all charges by type
Request
| name | type | requirement | description |
|---|---|---|---|
| account_number | string | required | The account number in the format of 123456578@vision |
| symbol | string | required | A stock or an option |
| quantity | number | required | Order quantity |
| side | string | required | Available values are buy, sell, sell_short, buy_to_cover |
| price | number | optional | Order price |
Response
An array of items breaking down all charges
| name | type | description |
|---|---|---|
| amount | number | Dollar amount |
| type | string | Charge description |