Supply Chain Pricing, Risk-Return Analysis, And Online Resource Allocation