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.

new hitbtc api question

See original GitHub issue

@timmolter @EricAnderson1000

I just noticed the deletion of the old hitbtc implemention. Are we sure the new one is ready to go? At a glance I just noticed the code for getFundingHistory:

  @Override
  public List<FundingRecord> getFundingHistory(TradeHistoryParams params) throws IOException {

    List<HitbtcTransaction> transactions = getTransactions();

    List<FundingRecord> records = new ArrayList<>();
    for (HitbtcTransaction transaction : transactions) {
      records.add(HitbtcAdapters.adapt(transaction));
    }
    return records;
  }

This doesn’t look right to me, it calls getTransactions and converts all responses into FundingRecords, is this correct? Surely not every transaction can be assumed to be a FundingRecord.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
EricAnderson1000commented, Dec 18, 2017

@npomfret @timmolter Here is a PR https://github.com/timmolter/XChange/pull/2001

Please give me feedback Note: hitbtc just returns a list of the results. So no total is provided. You basically have to blind page results.

1reaction
EricAnderson1000commented, Dec 16, 2017

Sorry it’s been a busy week with Christmas coming up. I’ll look into fixing this method this morning.

I believe this method was a copy over method. I’ll take a look.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ABOUT HitBTC API – API Documentation
HitBTC REST & Streaming API version 3.0 provides programmatic access to HitBTC's next generation trading engine. We strongly recommend that our new customers ......
Read more >
Issues · hitbtc-com/hitbtc-api - GitHub
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the...
Read more >
How to create and set up HitBTC API key - Bitsgap Help Center
1. Log in to HitBTC. Log in to your HitBTC account or create a new one. · 2. Go to the Settings page...
Read more >
HitBTC api POST request, C# - Stack Overflow
You need to use Basic authentication using public and private key. Example for RestSharp: var client = new RestClient("https://api.hitbtc.com") ...
Read more >
HitBTC API | Waltio Help Center
Create an API on HitBTC to automatically upload your transactions from HitBTC to Waltio. ... Step 3: Click "New API Key".
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