# 1.5 funds\_capstone return nothing after calling the function

**URL:** <https://forum.kx.com/t/1-5-funds-capstone-return-nothing-after-calling-the-function/15246>\
**Category:** Academy Support\
**Created:** [September 16, 2025, 12:46pm UTC](https://forum.kx.com/t/1-5-funds-capstone-return-nothing-after-calling-the-function/15246 "2025-09-16T12:46:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aman1](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/aman1/32/128_2.png) [@Aman1](https://forum.kx.com/u/Aman1)\
**Post date:** [September 16, 2025, 12:46pm UTC](https://forum.kx.com/t/1-5-funds-capstone-return-nothing-after-calling-the-function/15246/1 "2025-09-16T12:46:59Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![mmcparland](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/mmcparland/32/54_2.png) [@mmcparland](https://forum.kx.com/u/mmcparland)\
**Post date:** [September 16, 2025, 2:03pm UTC](https://forum.kx.com/t/1-5-funds-capstone-return-nothing-after-calling-the-function/15246/2 "2025-09-16T14:03:25Z")

</div>

Hi @Aman1,

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