1, spot market. Purchase price: 500 tons *1300 = 650,000 yuan.
Price: 500 tons *1260 = 630,000 yuan.
The actual profit and loss of the spot market is:-20,000 yuan.
2. Futures market: selling price: 500 tons *1330 = 665,000 yuan.
Purchase price: 500 tons *1270 = 635,000 yuan.
The actual profit and loss of the futures market is: 30,000 yuan.
The final profit and loss of the company is 10000 yuan.