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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X