To run this program you have to setup your environment by below commands.
make install
make setup
After you run the program, the output file will be stored in the root.
python examples/spy.py
You can change the STOCK variable to other symbol you want to request. (Only support US Stock).
import cnbc
STOCK = "SPY"
client = cnbc.Client()
client.apply(STOCK, client.queryQuote, client.save)