Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

I need help plotting time-stamped data via CSV

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I need help plotting time-stamped data via CSV

    Hello,

    i am trying to figure out a way to use time-stamped data via a CSV and using it to plot dots on the chart. The csv data has 1-minute timestamped data. the exact columns are:

    a.. timestamp - 1/24/2025 8:25:28 AM
    b.. strikePrice - 6010
    c.. Theo ES - 6046.25
    d. Rank - Call DEX 1
    e. Greek - DEX
    f. Value - 16.798


    the idea is to plot a dot at the Theo ES level, at the timestamp. The Rank column is used to choose the color of the dot. also Greek column can be used to color the dot as well.

    attached is an snapshot i was able to produce via Plotly and python using historical data and the csv data.
    Attached Files
    Last edited by CBCharts; 01-25-2025, 09:37 PM.

    #2
    Hello CBCharts,

    Thank you for your post.

    While we cannot assist with external programming languages, we can help you with accomplishing this via NinjaScript.

    Below is an example script on using StreamReader to read from a text file.



    You could then use the data read from the file to automatically draw dots.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    68 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    150 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    100 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    288 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X