Simple Smart Contract for an Oracle

Could someone point us to an available resource for developing a simple oracle in smartpy?

What type of oracle do you want to create?

Let’s say a real time stock price feed given by an off-chain API provider.

This are smart contract by Harbinger.

This is in legacy syntax.