8000 can someone help a julia noob with how to send callbacks to a function. · lbilli Jib.jl · Discussion #21 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

can someone help a julia noob with how to send callbacks to a function. #21

Answered by lbilli
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

It's useful to remember that in an asynchronous setting, a program is not executed sequentially, i.e. in a linear fashion, but functions invocation is driven by external events, in this case response arrivals.

In the case of reqMktData(), whatever needs to be done to handle the market data goes into the body of the functions tickPrice(), tickSize() and the like, of which the user has total control.

An issue that arises in this context is how to pass data around different parts of a program, since it's no 8000 t possible to use the usual function arguments nor their return values. Different solutions are available, like:

  • use external files or database to be accessed by other programs
  • use intern…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Comment options

You must be logged in to vote
5 replies
@lbilli
Comment options

@ghost
Comment options

@ghost
Comment options

@lbilli
Comment options

@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
0