Commodities investments have higher liquidity than other investments, because they can be traded on open markets. Also, they are less risky than other types of investments because they are not correlated with each other. On the other hand, commodities have a high volatility, which means that their price can change quickly.
Finally, commodities provide investors with diversification, since different commodities have different prices and volatility. For instance, when the price of gold decreases, the price of crude oil tends to increase at the same time. This protects your portfolio from market shocks.
We can conclude that investing in commodities is a good idea because they offer secure income, diversification and liquidity to investment portfolios. And now let’s get back to our topic. You can add commodities to your portfolio with a developer API called Portfolio API. This API will give you all the information you need to add commodities to your portfolio in just seconds. You can use this API to create your own commodity portfolio or to invest in others’ portfolios as well.
How Do I Add Commodities To My Portfolio?
It’s really simple and fast to do it thanks to this API. All you need is an account on Zyla API Hub, a registration on Portfolio API and then you are ready to start adding commodities to your portfolio.
First, you should sign up an account on Portfolio API website. After that, you will receive an access key that you must remember and keep private. This key will allow you to access the API endpoint.
Second, after signing up you must complete the Authorization header with the bearer token obtained earlier. With this completed step, you will have access to each endpoint available on Portfolio API.
Thirdly, you must choose which endpoint do you want and then enter some information regarding your portfolio like type of assets at hand(commodities) and entering date and end date of your portfolio(minimum purchase amount).
And then your work is done! You will receive all kind of information regarding your portfolio just like how much
Check different Commodity rates with this API. Get the latest price, prices per date, open, close, and much more.
To make use of it, you must first:
1- Go to Commodities API and simply click on the button “Subscribe for free” to start using the API.
2- After signing up in Zyla API Hub, you’ll be given your personal API key. Using this one-of-a-kind combination of numbers and letters, you’ll be able to use, connect, and manage APIs!
3- Employ the different API endpoints depending on what you are looking for.
4- Once you meet your needed endpoint, make the API call by pressing the button “run” and see the results on your screen.