Liquidate investment

POST/investments/:id/liquidate

Sell units of your investment or an amount if the investment is an index. Use the units body parameter if the investment is not an index and, amount if the investment is an index

Heads Up
Please do not pass both units and amount as body parameters. Use the one that applies to the asset type.

Body Parameters

units
string
conditional
Units of the investment to sell/liquidate (Cash is moved to wallet)
amount
string
conditional
Amount of the index to sell/liquidate (Cash is moved to wallet)