You should checkout RogueTrader.io. A buddy of mine built it. They’ve done something similar what you describe, creating a randomly generated index that you can bet on. It’s fully decentralized, non custodial, and it’s provably fair with all random numbers used to generate the betting outcomes posted to the blockchain.