Skip to content

request for OHLCV API endpoint on API. (not websocket) #3

@greenfield-br

Description

@greenfield-br

hello, oceanex dev team.

automated trading is an important venue for revenue for the exchanges, and when well configured, for the traders as well.

in order to make sure the bot is well configured, a backtesting is a hardly skipped.

given its market maker purpose, hummingbot does not provide backtesting while many other do.

there is no backtesting without previous candles data downloading, thus an api endpoint for OHLCV is then needed.

many bots rely on ccxt library, and it already includes your exchange.

as you can see below, from https://github.com/ccxt/ccxt/blob/master/python/ccxt/oceanex.py, from line #33 and on,

        'has': {
            'fetchMarkets': True,
            'fetchCurrencies': False,
            'fetchTicker': True,
            'fetchTickers': True,
            'fetchOrderBook': True,
            'fetchOrderBooks': True,
            'fetchTrades': True,
            'fetchTradingLimits': False,
            'fetchTradingFees': False,
            'fetchAllTradingFees': True,
            'fetchFundingFees': False,
            'fetchTime': True,
            'fetchOrder': True,
            'fetchOrders': True,
            'fetchOpenOrders': True,
            'fetchClosedOrders': True,
            'fetchBalance': True,
            'createMarketOrder': True,
            'createOrder': True,
            'cancelOrder': True,
            'cancelOrders': True,
            'cancelAllOrders': True,
        },

it does not have the fetchOHLCV method because your exchange does not provide an api endpoint for that.

i've seen already requests for that on your telegram group, which i recently joined, thus this observation of mine is not an individual demand.

can you please implement it in a short time span?

many thanks and best regards.

fernando a. bender
dev manager https://greenfield-br.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions