docker (3) 썸네일형 리스트형 나만의 빗썸 자동매매 스캘핑 봇: 개발부터 Oracle Cloud 배포까지 (Python, Docker, Telegram) 트레이딩을 자동화를 위해, Bithumb API와 텔레그램 알림을 활용한 간단한 스캘핑 봇을 만들었습니다. 개발언어는 파이썬으로 하고, 배포는 Docker를 이용했습니다. 이 글에서는 설정과정을 공유합니다.1. 프로젝트 구조먼저 프로젝트 폴더 구조입니다:bithumb-bot-scalping/ ├── Dockerfile ├── docker-compose.yml ├── requirements.txt ├── main.py ├── aggressive_scalping.py └── .envmain.py : 실행 진입점, 데이터 불러오고 전략 실행aggressive_scalping.py : 전략 로직 정의.env : API 키, 시크릿키, 텔레그램 토큰 등 민감정보requirements.txt : 필요한 패키지 목록.. Server Memory - Redis Redis is a server memory that stores data with a key-value pair. It does not depend on the database so it takes the burden of having to manage the data and it is fast. In addition, compared to local storage, another option to store data without depending on a database, it gives us control over the data. Well, enough talking, let's get into it. Why Do We Use It? Fast Control over the data Persist.. Docker - Installation To run your application globally, there are many things we have to set up from matching versions between each environment and configurations. Docket is a tool that allows us to manage the application in a container with all the necessary configurations. Docker is similar to a virtual machine in a sense that they both run on a virtual environment indepentantly from the major OS but docker runs on.. 이전 1 다음