Created
April 19, 2021 14:14
-
-
Save mr-yoo/19d83778054f87055a8aa72fff94e147 to your computer and use it in GitHub Desktop.
원화시장에 상장된 100원 미만인 코인 목록 출력하기
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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