return_on_investment
Calculate Return on Investment (ROI).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Cost of investment | |
| gain | Yes | Gain from investment |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | ||
| gain | Yes | ||
| net_profit | Yes | ||
| roi_percent | Yes |