new hitbtc api question
See original GitHub issueI 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:
- Created 6 years ago
- Comments:9 (9 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
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.