1.5 funds_capstone return nothing after calling the function

I have below code

uniqueOpts: distinct exec option_id from trade
uniqueOpts

which return below output (only mentioning few rows)

option_id

FB20200720C230
FB20200720C240
FB20200720C250
FB20200720C260
FB20200720C270
FB20200720P230
FB20200720P240

After that I have below code

refServiceHandle: hopen 5457;
/ refServiceHandle(getOptionRef;[`FB20200720C230,`FB20200720C240])←- this one works properly but I want to make it work with the list of symbols which I extracted above but its not working for me.

refServiceHandle(getOptionRef; uniqueOpts) --> This one runs properly but return nothing

refServiceHandle(getOptionRef;uniqueOpts); —> this one return error “Blocked”

such a simple example task but looks like I am missing something. Any help would be highly appreciated?

1 Answer

1

Hi @Aman1,

Have you tried putting a backtick infront of the getOptionRef variable?

Thanks, Megan, for your response. It looks like when I submitted my question in the forum, it was removed by the website. Can you please see all the code and output in the screenshot below? https://drive.google.com/file/d/1ORz9q22eZwcBoNMbbk9g5pziyc42qSr5/view?usp=sharing