Skip to main content

python wrapper for upbit API for asyncio and Python

Project description

aiopyupbit

aiopyupbit is python wrapper for upbit API for asyncio and Python which is base on pyupbit

Installation

Installing: pip install aiopyupbit

Usage

aiopyupbit syntax strives to be similar to pyupbit.

import asyncio
import aiopyupbit

async def main():
    print(await aiopyupbit.get_tickers())
    print(await aiopyupbit.get_current_price("KRW-BTC"))
    print(await aiopyupbit.get_current_price(["KRW-BTC", "KRW-XRP"]))
    print(await aiopyupbit.get_ohlcv("KRW-BTC"))
    ...

if __name__ == "__main__":
    loop = asyncio.new_event_loop()
    asyncio.set_event_loop(loop)
    loop.run_until_complete(main)

About

Some features are not currently implemented:

  • WebSocketManager class

Issues

Please report any issues via github issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiopyupbit-0.2.4.tar.gz (13.4 kB view hashes)

Uploaded Source

Built Distribution

aiopyupbit-0.2.4-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page