I am writing some position sizing code in one of my strategies and I am stuck on what seems to be a simple question.
How to I convert the price of a contract into dollars?
In case it matters, I am looking at commodities, not stocks.
Thank you in advance for your help.
Cheers,
Comment