HSX Forum

Playing & Trading Strategy

Development of a starbond "Tool of the Trade" question <inside>...

Posted by: JustWondering (a.k.a psisson) on Dec 09, 09:33

One type tool that I believe is essential for trading starbonds is one that calculates the next adjust price. Kaigee and HowProfitable are excellent tools for this purpose, but if those sites should go away or fail to be kept up to date then starbonds would be difficult to trade. Thus I'd like to develop a tool of my own.

HSX used to provide XML feeds that provided lots of useful information about securities, but now that those feeds are gone. The development of a starbond tool requires an application to fetch an HTML page of a starbond, parse the content, and then fetch and parse each individual moviestock page to get information about price, gross, release pattern, etc. Besides the obvious inefficiences and waste of HSX resources and bandwith, there are challenges with the data on the html pages. One of the biggest challenges is the release pattern. It is extremely difficult to programmatically determine the estimated adjust price because the release pattern has no standard format such as those used for other fields like "Status". Without a standard format, it is difficult to determine the adjust date and order of adjust. Sites like Kaigee and HowProfitable have managed to figure it out, but I haven't been able to reliably do so.

Can anyone (especially @Kaigee or @elchan) who has developed a tool provide any insight into how to reliably determine the release pattern? Regular expressions would be terrific, but any info would be helpful.

Here are a few regexps I currently use, but I know this is not reliable for parsing the non-standard "Release Pattern":

case pattern
when /\Awide\Z/i then "WIDE"
when /\Alimited\Z/i then "LIMITED"
when /[^\;]*\;.*?\bwide\b/i then "WIDE"     # i.e limited 12/11; wide 12/18
when /\ANY\/LA\Z/i then "LIMITED"
else "UNKNOWN"
end

Thanks!





Post a Reply

To post to the forums you must first login!


Old Gold Mountain (OGMTN) 50000 13.47 (-0.04)          Wonder Woman (WOND3) 5 51.66 (-0.21)          Wonka 2 (WONK2) 15 67.90 (-0.90)          Fuze (FUZE) 30000 5.61 (-0.60)          Fuze (FUZE) 45000 5.61 (-0.60)          Anne Hathaway (AHATH) 650 23.07 (-0.87)          X-Men aka Mutants (XMEN8) 4 163.91 (-0.44)          Watch Dogs (WTDOG) 4 9.40 (+0.02)          Fuze (FUZE) 45000 5.61 (-0.60)          New York Will Eat You Alive aka (ZMBRO) 40 0.57 (-0.02)          Florence Pugh (FPUGH) 4 154.85 (-0.02)          Meryl Streep (MSTRE) 4 132.17 (-0.33)          Emily Blunt (EBLUN) 5 131.68 (-0.34)          Bingbing Fan (FBING) 4 95.79 (-0.25)          The Super Mario Galaxy Movie $39 (MARI2.BW) 25000 5.00 (0.00)          Phoebe Waller-Bridge (PWALL) 60 90.25 (-0.25)          Rachel Brosnahan (RBROS) 4 89.91 (-0.25)          Play Dead (PLAYD) 150000 5.00 (0.00)          Anne Hathaway (AHATH) 600 23.07 (-0.87)          Kiernan Shipka (KSHIP) 4 86.67 (-0.25)          Anne Hathaway (AHATH) 25 23.07 (-0.87)          Kiernan Shipka (KSHIP) 4 86.67 (-0.25)          Ono Ghost Market (ONOGM) 150000 71.14 (+1.14)          Monica Barbaro (MBARB) 4 114.46 (-0.33)          Kiernan Shipka (KSHIP) 4 86.67 (-0.25)          Emma Corrin (EMCOR) 4 113.22 (-0.33)          Paranormal Activity 8 (PNAC8) 150000 28.63 (-0.10)          Fede Alvarez (FALVA) 4 69.46 (-0.25)          Jack Whitehall (JAWHI) 4 61.54 (-0.25)          Sydney Sweeney (SSWEE) 8 38.29 (-0.25)          The Super Mario Galaxy Movie $39 (MARI2.BW) 25000 5.00 (0.00)          Anne Hathaway (AHATH) 500 23.07 (-0.87)          Scream 7 $115M Blockbuster Warra (SCRM7.BW) 25000 9.66 (+0.04)          Anne Hathaway (AHATH) 45 23.07 (-0.87)          Charlize Theron (CTHER) 5 130.40 (+0.33)          Stephen Graham (SGRAH) 3 87.97 (+0.25)          The Super Mario Galaxy Movie $39 (MARI2.BW) 25000 5.00 (0.00)          Julia Roberts (JROBE) 4 53.76 (+0.16)          The Super Mario Galaxy Movie $39 (MARI2.BW) 25000 5.00 (0.00)          Ruby Rose (RROSE) 5 83.38 (+0.25)          The Super Mario Galaxy Movie $39 (MARI2.BW) 25000 5.00 (0.00)          Gail Daughtry and the Celebrity (GDCSP) 750 10.12 (+0.66)          Melissa Barrera (MBARR) 5 47.08 (+0.16)          Himesh Patel (HPATE) 12 49.93 (+0.50)          Ono Ghost Market (ONOGM) 150000 71.14 (+1.14)          Wild Horse Nine (WILDH) 1000 11.87 (+0.06)          Aaron Sorkin (ASORK) 26 14.24 (+0.20)          Hoppers $140M Blockbuster Warran (HOPPR.BW) 25000 11.88 (+0.34)          Project Hail Mary $260M Blockbus (PRJHM.BW) 25000 12.37 (+0.89)          The Super Mario Galaxy Movie $39 (MARI2.BW) 25000 5.00 (0.00)