For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

How to add datafeed with text field?

  • Hello, I am trying to add datafeed with text field. For example a csv file with columns with delivery month info of future contracts, or names of calendar spread. I know I can convert everything into int/float before loading, but want to see if there is an easy way to incorporate text field in datafeed directly. I tried some simple modifications, but it seems like the linebuffer object requires float data. Haven't figured out how to modify it yet (or if possible at all).
    Checked some older posts, seems like the author intends all data to be of float type. Wondering if anyone else has went down a similar path. Thank you.

  • @spg_trader said in How to add datafeed with text field?:

    all data to be of float type

    Your answer :)

Log in to reply