Skip to content

Instantly share code, notes, and snippets.

@mr-yoo
Created April 19, 2021 14:14
Show Gist options
  • Save mr-yoo/19d83778054f87055a8aa72fff94e147 to your computer and use it in GitHub Desktop.
Save mr-yoo/19d83778054f87055a8aa72fff94e147 to your computer and use it in GitHub Desktop.
원화시장에 상장된 100원 미만인 코인 목록 출력하기
import pyupbit
tickers = pyupbit.get_tickers(fiat="KRW")
price_data = pyupbit.get_current_price(tickers)
result = [ ]
for ticker, price in price_data.items():
if price < 100:
result.append(ticker)
print(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment