mmyjh86

[개인질문] 이중 For문

Nov 22nd, 2019
99
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import pybithumb
  2.  
  3. df = pybithumb.get_ohlcv("BTC")
  4. jsonData = df.to_dict()
  5. for ohlcv in jsonData:
  6.     print("-" * 10, ohlcv)
  7.     for date in jsonData[ohlcv]:
  8.         print(date, jsonData[ohlcv][date])
RAW Paste Data