Skip to content

wayne70211/Currency-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currency Tracker

追蹤匯率小幫手,可即時用Line通知
目前提供台灣銀行與台新銀行外幣匯率

Bug

  • 2019/9/20 台新銀行匯率網站變更,無法使用 pandas.read_html 方法

Add LINE Notify ID

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('輸入錯誤,請再試一次')

Requirement

  • Python 3
  • Numpy
  • Pandas
  • requests

About

追蹤匯率小幫手,可即時用Line通知

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages