basis or spread

Kavi
How to calculate programtically Basis or spread ?(This difference in price between the futures price and the spot price is called the “basis or spread”.)

Please help
This discussion has been closed.