Reply To: Sample Python script, and a question about returning values from that script

Optuma Forums Optuma Scripting Sample Python script, and a question about returning values from that script Reply To: Sample Python script, and a question about returning values from that script

#68219
David
  • Topics: 9
  • Replies: 16
  • Posts: 25

Hi Peter,

Thanks for your reply. DBGView is going to come in very handy.

In the example you provided of using a watchlist to show the TickSize value, how does the PYTHON(PYTHONFILE=TickSize.py) call know to use the value of the ticksize variable in the Python script rather than e.g. ohlcs or vals.

I could understand if the last line was e.g. return(ticksize), but if I’m not returning anything from the Process() method, which variable gets consumed?

Pin It on Pinterest