@Joshua_Jenkins wrote:
I feel like I’m doing something wrong when things become difficult.
I want to make a trade simulator that I can drop self contained buy trigger modules in. The trigger module will include a list of options and a standard function that will return prices that match the options for a date.
I have made a twiddle to make things easier to explain: Twiddle
I’m getting all tied in knots figuring out how to do this. I don’t know how to get the data back from the trigger object or how to call that function from my calculate action. I feel like this breaks the data down, actions up mantra but it seems sensible to contain each trigger in a separate file with it’s calculation code.
So basically it’s a trade-simulator component that has a trigger selection that will have a variable amount of options. The price data and a date will be sent to that trigger which will return a list of valid buys.
First I’d like to know if I’m going about things in the right way. I’m getting stuck and confused so I doubt it.
Posts: 1
Participants: 1