CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2021

    code to watch crypto currency statistics

    I have retired and now want to invest time into tracking crypto currencies. This task requires the user to sign up to one of several sources to get trading information. The first question to decide is what language to use.

    Several sites provide a public API that may be used to download statistics about multiple crypto currencies. The few examples I find are calls to add functionality to a Java or Javascript app.
    I can write C/C++ but have never written any apps to converse via TCP/IP. I have never written any Java.

    The ultimate goal is to capture the data in a CSV format. Once there, I can import into Excel and/or write more code to display the results. I want to display the data over time periods of a day, week, and month. I suspect I want to run the numbers through a Fourier transform and look at the predominate frequencies and see if they tell me anything useful. It might help in determining when the price trend will shift between going up and down.

    My last task at work was to create a strip chart and frequency spectrum, but they run on Linux, in C++ and use `old versions of Qt and Open GL. The new project will be exclusively on Windows. I found some stuff about doing Fourier transforms within Excel, but have not investigated further.
    My current reading indicates this might be best done in Java. Which do you think would be better?
    Any thoughts?
    Is anyone interested is collaborating on a project such as this?

  2. #2
    Join Date
    Mar 2021

    Re: code to watch crypto currency statistics

    I am a bit surprised at the zero reply count here. Should I not be surprised?

    Rather than do this completely on my own, I would really prefer some collaboration and ideas from people that might use the end result. Here is what I think so far:
    I think the best route is to go with Java. I found a blog about how to access an API with Java and will probably start there.

    Part 1: Create a Java App to get crypto currency statistics from one of the web sites that advertise that ability.
    Convert the data to CSV format with headers suitable to import into Excel. From a given web site, create a separate file for each coin type.

    Part 2: An Excel workbook set up to ingest the CSV file(s) and show each transaction on a row of data. This is expected to get a bit complex so the details should be discussed later.

    If there are no replies, I will take the hint and see what I can do.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width