HSX Forum

CelebStock and StarBonds

That helps. I need to add to the regex to replace all multiple spaces with one space. Thanks! {nm}

Posted by: elchan (a.k.a elchan2012) on Apr 23, 20:54 in response to PVL Admin's post Hope this helps. Firefox is problematic (not port...

@elchan, your port checker isn't working. Looks like the quantity held is slipped one column. Also, when it was "working" the green/red PVL Admin Apr 20, 14:16

Working fine for me, and I'm not seeing any errors from others. Make sure that the format is correct. It is based on purch price and adj. elchan Apr 20, 14:59

Used to work. Since Portmonkey changes, it does not....for me. PVL Admin Apr 20, 16:13

Just tried it with portmonkey. EXACT same results as without. {nm} PVL Admin Apr 20, 16:17

Figured out the issue - you need to fix something. When I cut/paste my port directly into your input, it is tab separated. PVL Admin Apr 20, 16:28

also, the green ain't right. Current price 58. Adjust price 51. position is LONG. Green. Not right. Should be red as in, not making $$ {nm} PVL Admin Apr 20, 16:29

The regex is supposed to replace the tabs with one space. I'll check on that. But the check is based on purch price, not current price. elchan Apr 20, 17:46

Why would you base it on purchase price. If i hold long enough, the current price could go past adjust and I would be holding wrong. PVL Admin Apr 20, 23:14

Yes, but for it to drop from 51 to 49 means there's a flip in position, due to the fact that the next adjust will drop the bond's TAG... elchan Apr 21, 08:12

Also another argument for my method is that it's kinda irrelevant what the current price is ... elchan Apr 21, 08:59

Totally disagree... I'll try to explain better PVL Admin Apr 21, 10:36

If it shoots past the next TAG then the bond is over bought. This means that you are making more money ... elchan Apr 21, 12:00

I'm not saying your POV is wrong, just I have to choose a health criterion, maybe someone can suggest a way I can represent both situations. {nm} elchan Apr 21, 12:17

But what happens when it goes PAST the intended adjust point, but still is going to adjust. It will still show green even though I am PVL Admin Apr 21, 10:23

Answered above ... {nm} elchan Apr 21, 12:01

Also. for maximum benefit/usage, you really need a way to remove the zero box office movies from the next adjust. {nm} PVL Admin Apr 21, 10:41

Yes this makes sense. Was meaning to do it, and just did. (Added an SQL clause to exclude movies with 0 gross as reported by HSX) elchan Apr 21, 12:16

I don't know what you mean by 'regular search', but comparison of purchase price and expected TAG is useless. not2fast Apr 23, 10:38

If you're not aware, I have a web site which presents bond tags, pre-calculated in table form. Here are the links: elchan Apr 23, 17:16

I have the same issue as PVL. {nm} Panachevitz Apr 21, 13:38

Which one? Multiple tabs or with the comparison to purchase price? {nm} elchan Apr 21, 16:02

The original technical problem, tab issues with importing data into the spreadsheet. {nm} Panachevitz Apr 21, 18:16

I made a change an just tested it with a port monkey copy&paste. See if it's improved. elchan Apr 22, 07:54

nope, still won't add in the position held column, which is filled by the quantity. Panachevitz Apr 22, 19:39

The port monkey support is limited, because it colour codes the position. You will not get an assessment. elchan Apr 22, 23:29

Hope this helps. Firefox is problematic (not port monkey). Explorer works fine PVL Admin Apr 23, 10:49

That helps. I need to add to the regex to replace all multiple spaces with one space. Thanks! elchan Apr 23, 20:54

Yep, I made the change and now multiple spaces and tabs should work. elchan Apr 23, 21:04

It works and looks beautiful! Thanks! :D {nm} Panachevitz Apr 23, 21:35

What is a port checker? Can I get a link please? {nm} Rigit Apr 23, 09:55

Here's the link to the port checker: elchan Apr 23, 17:11





Post a Reply

To post to the forums you must first login!


Wicked (WICKD) 107 295.53 (-0.15)          Spa Weekend (SPAWK) 150000 13.33 (+3.33)          Spa Weekend (SPAWK) 150000 13.33 (+3.33)          Star Wars: Dawn of the Jedi (STRW1) 75919 134.92 (-0.82)          Acorns (ACRNS) 10000 85.72 (+0.60)          Practical Magic 2 (PRAC2) 15000 42.85 (-0.08)          Paper Tiger (PTIGR) 20000 21.16 (+1.85)          Christine (CRSTN) 1500 26.54 (0.00)          Wuthering Heights (WUTHR) 7000 38.42 (+0.45)          Wicked (WICKD) 607 295.53 (-0.15)          Wuthering Heights (WUTHR) 1600 38.42 (+0.45)          Mike Tyson biopic (MTYSN) 20000 0.04 (-0.02)          Paper Tiger (PTIGR) 20000 21.16 (+1.85)          Paper Tiger (PTIGR) 1200 21.16 (+1.85)          Spellbound (SPLBN) 485 0.26 (-0.05)          The SpongeBob Movie 4: Search fo (SPBO4) 600 64.10 (+0.86)          The SpongeBob Movie 4: Search fo (SPBO4) 600 64.10 (+0.86)          Gladiator II (GLAD2) 696 172.72 (-1.17)          Spa Weekend (SPAWK) 10000 13.33 (+3.33)          Spa Weekend (SPAWK) 600 13.33 (+3.33)          Gladiator II (GLAD2) 496 172.72 (-1.17)          Sneaks (SNEKS) 10000 15.05 (+3.04)          Sneaks (SNEKS) 600 15.05 (+3.04)          Relay (RELAY) 1200 4.24 (+0.88)          Flow (FLOW) 4006 2.27 (-0.07)          Relay (RELAY) 3000 4.24 (+0.88)          Relay (RELAY) 5200 4.24 (+0.88)          Spellbound (SPLBN) 1 0.26 (-0.05)          Spellbound (SPLBN) 1 0.26 (-0.05)          Flow (FLOW) 989 2.27 (-0.07)          Werewolves (WEREW) 58000 17.02 (+1.07)          The World According to Allee Wil (WATAW) 150000 0.44 (+0.02)          Ernest Cole: Lost and Found (ECLAF) 993 0.46 (-0.06)          Spa Weekend (SPAWK) 1000 13.33 (+3.33)          Gladiator II (GLAD2) 149999 172.72 (-1.17)          Crime 101 (CRIM1) 4990 27.83 (-0.03)          Dune: Messiah aka Dune: Part Thr (DUNE3) 1000 172.03 (+1.21)          Ernest Cole: Lost and Found (ECLAF) 988 0.46 (-0.06)          Mother Mary (MMARY) 10000 8.30 (-0.33)          The Wedding Banquet (TWEDB) 10000 8.56 (-0.06)          The Wedding Banquet (TWEDB) 8 8.56 (-0.06)          Famous (FAMOS) 2000 23.00 (+1.29)          The Devil Wears Prada 2 aka Reve (PRAD2) 15000 87.88 (+0.10)          Bonhoeffer (BNHFR) 5006 6.32 (-0.14)          Famous (FAMOS) 11200 23.00 (+1.29)          Untitled Alejandro Gonzalez Inar (UAGIP) 3 64.92 (-0.10)          Paper Tiger (PTIGR) 150000 21.16 (+1.85)          Paper Tiger (PTIGR) 150000 21.16 (+1.85)          Uncharted 2 (UNCH2) 3 28.53 (+0.03)          Famous (FAMOS) 3600 23.00 (+1.29)