Codeinwp / Codeinwp/visualizer

JSON: Add ability to manipulate data before processing

Open
#669 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
108
Forks
29
Avg merge
1d 9h
Merged PRs (30d)
7

Description

ref https://secure.helpscout.net/conversation/1114000866/220789/

URL: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=MSFT&apikey=demo

Final json data:

{
    "Meta Data": {
        "1. Information": "Daily Prices (open, high, low, close) and Volumes",
        "2. Symbol": "MSFT",
        "3. Last Refreshed": "2020-03-20",
        "4. Output Size": "Compact",
        "5. Time Zone": "US/Eastern"
    },
    "Time Series (Daily)": {
        "2020-03-20": {
            "1. open": "146.0000",
            "2. high": "147.1000",
            "3. low": "135.8600",
            "4. close": "137.3500",
            "5. volume": "84866215"
        },
        "2020-03-19": {
            "1. open": "142.7700",
            "2. high": "150.1500",
            "3. low": "139.0000",
            "4. close": "142.7100",
            "5. volume": "85922661"
        },
    }
}

This does not generate the candlestick chart as the date is outside the root viz. Time Series (Daily). The solution is to be able to add the date to the root.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the JSON processing entry point that handles the supplied Alpha Vantage response and the candlestick chart data mapping. Verify how the root viz is selected and determine where the date should be added before processing. Done means the date is available at the root and the example data generates the candlestick chart.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.