100여개 거래소 데이터를 한번에, CCXT (CryptoCurrency eXchange Trading Library)

in #kr6 years ago (edited)

Example_Image
< CCXT Python Example >

이번 글에서는 좋은 라이브러리를 하나 소개해 드릴까 합니다.

약 1년 정도 개발이 되고 있는 CCXT (CryptoCurrency eXchange Trading) 라이브러리 입니다.

하루가 다르게 새로운 암호화폐 거래소들이 속속 생겨나고 있는데요, 이를 한 라이브러리 통해서 편하게 데이터를 가져올 수 있습니다. 심지어는 Private API키를 통해 주문까지 가능한 거래소 모듈을 포함하고 있습니다. Wow

총 116개를 지원한다고 나와 있는데요, Pull Request 에 포함되기를 기다리는 새로운 거래소 모듈이 있으니, 지원하는 거래소가 점점 더 늘어 날 것 같습니다.

Javascript, Python, Php 세가지 언어를 모두 지원하고, 굉장히 활발하게 업데이트가 되고 있습니다.

라이브러리 기본적인 구조만 파악하면 백여개 거래소 데이터를 한번에 가져올 수 있습니다.

Python이 주력 언어인 저로서는 Asyncio 로 작성된 비동기 코드가 있어서 매우 좋았습니다.

간단한 Ticker.py 실행 예제를 보여드리며 마치겠습니다.
cctx_ticker1.gif

Jin

Sort:  

Congratulations @sifnax! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @sifnax! You received a personal award!

1 Year on Steemit

Click here to view your Board of Honor

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @sifnax! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.27
TRX 0.11
JST 0.032
BTC 64579.45
ETH 3101.05
USDT 1.00
SBD 3.83