question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Announcement: changes in fetchTrades, fetchMyTrades, fetchOrders, fetchClosedOrders, fetchOpenOrders

See original GitHub issue

Hi, everyone!

The above methods have been changed and their signatures were transformed from

fetchTrades (symbol = undefined, params = {})

to

fetchTrades (symbol = undefined, since = undefined, limit = undefined, params = {})

New since and limit params were added. These params are mostly obvious but we will soon document them in the Manual as well. These new params were just added so they may not work here and there right away, but we will debug all related issues anyway. Feel free to report if you have any…

The above changes are not backward-compatible, so, be sure to update your code in case you use these methods as of version 1.10.1. Let us know if you have any difficulties with them. Thx!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:18 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
saianworkcommented, Nov 7, 2017

Hi, it actually works like this

hours = 8  # ← your timeframe
topia.load_markets()
for symbol in btccoins:
    market = topia.market(symbol)
    response = topia.publicGetMarketIdHours(topia.extend({
        'id': market['id'],
        'hours': hours,
    }, params)) #**← without params otherwise it pops an error "undefined" maybe I don't understand what it means? but if i delete params your code works.**
    print(topia.parse_ticker(response['Data'], market))
1reaction
kroitorcommented, Nov 6, 2017

@nmiculinic sure, we will try to organize it and structure it better, we are steadily making progress. Thx for your suggestion!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overview — ccxt 1.13.142 文档
id name ver doc countries _1broker 1Broker 2 API US _1btcxe 1BTCXE * API Panama acx ACX 2 API Australia
Read more >
qtrade.py - searchcode
searchcode is a free source code search engine. Code snippets and open source (free software) repositories are indexed and searchable.
Read more >
Bitcoin Trading Master update for 5 January 2021 - SteamDB
An update was detected, but we have no official patch notes for it besides the list of changed files in 1 depot.
Read more >
Getting class Exchange not found? ▷ Download ccxt/ccxt +++ ...
is changed from its default value & to " . ... fetch_open_orders() not supported yet'); } public function fetchOpenOrders ($symbol = null, $since...
Read more >
[Puppeteer] Bybit API探訪|おさむくん - note
... 'fetchMarkets': True, 'fetchMyTrades': True, 'fetchOHLCV': True, 'fetchOpenOrders': True, 'fetchOrder': True, 'fetchOrderBook': True, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found