追蹤匯率小幫手,可即時用Line
通知
目前提供台灣銀行與台新銀行外幣匯率
- 2019/9/20 台新銀行匯率網站變更,無法使用
pandas.read_html
方法
The LINE Notify ID can get from Here
Replace the token with your LINE Notify ID
if __name__=="__main__":
#currency='AUD'
currency=input('追蹤匯率幣別:')
print('幣別:'+currency)
target = []
#target = [21.05,21.0] #賣出價,買入價
try:
sell = float(input('目標賣出價:'))
buy = float(input('目標買入價:'))
target.append(sell)
target.append(buy)
token = '' # Line Notify ID
run(currency,target,token)
except ValueError:
print('輸入錯誤,請再試一次')
- Python 3
- Numpy
- Pandas
- requests