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.

[Zipmex] watchTrades with multiple pairs is not sending others pairs data except the first one

See original GitHub issue

OS: macOS Monterey 12.2.1 Programming Language version: JS, Node 17.7.1 CCXT version:1.77.18 & CCXT.Pro Which exchange it is: Zipmex

Which method you’re trying to call: watchTrades()

 const symbols = ['USDT/THB', 'BTC/THB', 'ETH/THB',]

  await Promise.all(symbols.map(symbol =>
    (async () => {

      while (true) {
        try {
          const trades = await exchange.watchTrades(symbol, 0, 10)
          console.log(new Date(), symbol, trades);
        } catch (e) {
          console.log(symbol, e)
        }
      }
    })())

I only received the first symbol data that connects to the watchTrades function. Could you please check my code. Is the anything wrong with my code?

*I did what your team suggest earlier in issue_id: 12621 but it did not work so I have to reopen this issue again.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
prinpremcommented, Apr 30, 2022

It works now. Thanks!

0reactions
kroitorcommented, Apr 26, 2022

@prinprem pardon, this is not fixed yet, I will let you know when it’s done. Thx for your patience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Walkthrough Guide of Digital Assets Trading on Zipmex
The trading pairs section shows the available market pairs depending on the digital assets you plan to trade. As a digital assets trading ......
Read more >
How to get ALL (or multiple) pair's historical klines from ...
I think the best option for you will be websocket connection. You cannot recieve kline data once per eg. 5 minutes, but you...
Read more >
Zipmex - Twitter
Asia's leading digital asset exchange providing you high liquidity and insurance on your assets. Operating in Singapore, Australia, Indonesia and Thailand.
Read more >
Southeast Asia crypto exchange Zipmex to resume withdrawals
Zipmex said it was in talks with Babel Finance, which suspended withdrawals in June, to resolve its $48 million exposure to the crypto...
Read more >
Zipmex. Trade Volume, Trade Pairs and Info - BeInCrypto
Coin Pair Price Spread 24h Volume Volume % Tether USDT/THB $ 35.72 0.78% $ 33 534.00 5.5718% Bitcoin BTC/THB $ 587000 0.33% $ 28 139.00...
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