Skip to content

업비트 고정 IP 인스턴스로 크론 잡 보내기

Notifications You must be signed in to change notification settings

Goldwyn-Cooper/upbit_one_hour_automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📌 Upbit 1 Hour Automation

UPBIT Flask 의 cron job 수행

📦 Tech Stack

Python GitHub Actions Telegram Pandas

🏁 Start

Install & Test

$ python3 -m venv venv
$ source venv/bin/activate
# pip install requests python-dotenv pyupbit tabulate PyGithub -q
# pip freeze > requirements.txt
$ pip install -r requirements.txt
# touch .env  # dotenv 혹은 환경변수 설정 필요
# source .env
$ python tests.py # 단위 테스트

GitHub Secrets for GitHub Actions

Settings > Security > Secrets and variables > Actions > Secrets > New repository secret

📚 Reference

Unittest

Cron Job