Пример #1
0
def get_ohlcv(order_currency="BTC", payment_currency="KRW", interval="day"):
    # for backward compatibility
    chart_instervals = {
        "day": "24h",
        "hour12": "12h",
        "hour6": "6h",
        "hour": "1h",
        "minute30": "30m",
        "minute10": "10m",
        "minute5": "5m",
        "minute3": "3m",
        "minute1": "1m",
    }[interval]

    return Bithumb.get_candlestick(order_currency, payment_currency,
                                   chart_instervals)
Пример #2
0
def get_tickers(payment_currency="KRW"):
    return Bithumb.get_tickers(payment_currency)
Пример #3
0
def get_ohlc(order_currency, payment_currency="KRW"):
    return Bithumb.get_ohlc(order_currency, payment_currency)
Пример #4
0
def get_candlestick(order_currency,
                    payment_currency="KRW",
                    chart_instervals="24h"):
    return Bithumb.get_candlestick(order_currency, payment_currency,
                                   chart_instervals)
Пример #5
0
def get_transaction_history(order_currency, payment_currency="KRW", limit=20):
    return Bithumb.get_transaction_history(order_currency, payment_currency,
                                           limit)
Пример #6
0
def get_orderbook(order_currency, payment_currency="KRW", limit=5):
    return Bithumb.get_orderbook(order_currency, payment_currency, limit)
Пример #7
0
def get_market_detail(order_currency, payment_currency="KRW"):
    return Bithumb.get_market_detail(order_currency, payment_currency)
Пример #8
0
def get_market_detail(currency):
    return Bithumb.get_market_detail(currency)
Пример #9
0
def get_tickers():
    return Bithumb.get_tickers()
Пример #10
0
def get_orderbook(currency):
    return Bithumb.get_orderbook(currency)
Пример #11
0
def get_current_price(currency):
    return Bithumb.get_current_price(currency)
Пример #12
0
def get_ohlc(currency):
    return Bithumb.get_ohlc(currency)
Пример #13
0
def get_orderbook(currency, limit=5):
    return Bithumb.get_orderbook(currency, limit)