To run this program you have to setup your environment by below commands.
make install
make setupAfter you run the program, the output file will be stored in the root.
python examples/spy.pyYou 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)