Pages:
Actions
  • #1 by Pierao on 24 Oct 2018
  • Hello,

    I've been struggling to create a trigger that would work in this manner:

    1) I import 'N' markets (might be variable from one day to another)
        - These markets are over and under markets from different soccer games

    2) Every 'T' seconds, I write to an Excel file the prices of these markets and the minute of the match the price was read

    3) when the market is closed (eg.: a gol is scored and o0.5FT is closed), I keep the last price available and the minute of the match the price was read.

    the closest I could get was with this trigger:
    https://community.welldonesoft.com/marketfeeder-triggered-betting/write-to-excel/msg54841/#msg54841

    But I wasn't able to do the execution with "no more often than X seconds" for each market.

    Ideas ?
  • #2 by Pierao on 25 Oct 2018
  • well I guess that market_index is the variable that shows the position of the market among the markets I chose ?
    If that's correct this will solve my problem.
  • #3 by Oxa (WellDoneSoft) on 28 Oct 2018
  • Hello! Your request is non-trivial, please create a trigger request under the dedicated forum section:

    Make me a trigger

    market_index contains the index of the market in the My Markets list, which can change if you re-sort the markets or delete any of them from the list.
  • #4 by Pierao on 29 Oct 2018
  • Thank you very much, Oxa!
Pages:
Actions