Skip to content

websocket을 사용해 업비트 시세를 가져오는 elixir 예제 프로젝트

License

Notifications You must be signed in to change notification settings

ohyecloudy/example_websocket_upbit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExampleWebsocketUpbit

WebSocket을 사용해 업비트 시세를 가져오는 예제 프로젝트. Elixir 언어를 사용하고 websockex 라이브러리를 사용한다.

🚀 시작하기 (Getting Started)

$ emacs config/config.exs

config.exs 파일을 열어 시세를 가져올 코인을 설정할 수 있다.

config :example_websocket_upbit,
  tickers: ["KRW-BTC", "KRW-ETH", "KRW-SOL", "KRW-ADA", "KRW-XRP"]

디폴트로 5가지 코인의 시세를 가져온다.

$ script/server-with-metrics

스크립트를 실행하면 example_websocket_upbit, prometheus, grafana가 실행된다.

docs/image/grafana.png

http://localhost:3000/ 주소로 grafana에 접속해 example websocket upbit 대시 보드를 열어 확인한다.

📝 블로그 포스트

⚖️ 라이선스 (License)

MIT 라이선스를 따르고 있습니다. LICENSE 파일을 참고하세요.

About

websocket을 사용해 업비트 시세를 가져오는 elixir 예제 프로젝트

Topics

Resources

License

Stars

Watchers

Forks