Xstocks - up on download page

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Asteron Offline
"Skilled" Python Coder
Posts: 933
Joined: Feb 2004
Reputation: 0
Post: #11
well until window.getfocus() gets fixed (enabling me to do nice scrolling), i added pageup and pagedown buttons... you can grab the updated file here.

http://www.filespace.org/asteron/xstocks.py

-asteron
find quote
Asteron Offline
"Skilled" Python Coder
Posts: 933
Joined: Feb 2004
Reputation: 0
Post: #12
made it use the triggers (action_scroll_up) and action_page_up for scrolling so now supports some 200 stocks in the list... so if you wanted more than 12 stocks get it here.

http://www.filespace.org/asteron/xstocks.py

-ast
find quote
ReflexNPG Offline
Junior Member
Posts: 18
Joined: Nov 2004
Reputation: 0
Post: #13
is there a plan to show all companies of an index - it would make it easier to get an overview of the market...

great script - thanks!
reflex
find quote
Asteron Offline
"Skilled" Python Coder
Posts: 933
Joined: Feb 2004
Reputation: 0
Post: #14
you mean like http://finance.yahoo.com/q/cp?s=^dji that kind of data? could be kinda neat...

maybe just be able to select the index data already there and click it to take you to another screen showing a stocktable from that data... seems somewhat doable...

maybe a better idea would be to have multiple portfolio's selectable ... do indices change their stocks very often? if not people could just add the index maybe as a new portfolio...

the stuff i plan on adding eventually:
better scrolling (identical to a normal listcontrol)
sorting by any column

maybe:
multiple portfolios (like one for techs.. another for meds)
index browsing
arrange stocks in the list up/down
support for > 200 stocks
compare 2 (+?) stocks against eachother
skinnable background instead of using skin background? (i kinda like it the way it is cause it will look more integrated with all skins)

i'm glad to know that there are people getting use out of this thing Big Grin
find quote
caddie Offline
Junior Member
Posts: 28
Joined: Dec 2004
Reputation: 0
Location: Toronto, Canada
Post: #15
this is great !!! i love this script.
if you are going to integrate portfolio's something to keep in mind.
yahoofinance limits you to a maximum of 200 quotes at any one time, or on any one portfolio.

the last think that i would really love would be if you could somehow integrate http://www.stockcharts.com charts instead of yahoo. (for the charts)

the url format for this would be:
http://stockcharts.com/gallery?msft

even better than the gallary view would be the ability to choose your chart pattern (check stockcharts.com to see what i mean)

keep up the great work man - this is my absolute favorite script!!!!!

xbox 1.2 - xecuter 2.3b lite - xir remote - 80mm mod - 120g maxtor 8mb cache - samsung dvd & networked xbmc - harmony 680 remote
find quote
YLSF Offline
Junior Member
Posts: 26
Joined: Oct 2003
Reputation: 0
Post: #16
great little script. i am using the version that is changed showing tsx on the front page instead of sp500.

i have been away from the xbox "scene" for a few months. i just had other stuff to take care of but now that i am back there is a lot of great new scripts, changes to xbmc,etc.

is there anyway for your script to automatically grab your existing portfolio from my.yahoo.com finance portfolio? i just literally installed it and haven't started entering any portfolio data yet but it is pretty neat from what i have seen so far.
find quote
esurfer Offline
Junior Member
Posts: 7
Joined: May 2004
Reputation: 0
Post: #17
hi to get quotes in other markets, use reuters code instead of ticker symbol. the ric codes are encoded like this:

{nnnn}.{market}


for example, 0005.hk will get you hsbc and 6758.f will give u sony listed at frankfurt.
find quote
Asteron Offline
"Skilled" Python Coder
Posts: 933
Joined: Feb 2004
Reputation: 0
Post: #18
hi everyone,
i've added complete scrolling behavior (had to emulate pageup/down, moveup/down, scrollup/down commands) and the ability to sort by the different columns.

before i release it officially though i am going to finish the portfolio work. there is framework in the code for portfolios right now but its not in the gui yet. i was wondering though if anyone wanted to volunteer to make some default portfolios of stocks for a few sectors. i made one for tech as

Quote:"technology" - msft,ibm,aapl,yhoo,goog,nvda,intc,amd,dell,hpq,sunw,csco,mmm,orcl,qcom

if someone could collect some portfolios in a few more sectors (or add alot more to the tech sector) that would be really helpful. i think sectors like "aviation" "biomed" "retail" etc will be nice... include any stocks you can get from finance.yahoo.com and try to keep it below to 100 or so per sector. just post it here in the above format (if its really long add linebreaks) and i will include it in the defaults for the script. thanks!


threezee - id like to finish this off before asking you to put it on scriptrunner Big Grin
find quote
ThreeZee Offline
Junior Member
Posts: 49
Joined: Jan 2005
Reputation: 0
Post: #19
10-4 good buddy.
find quote
Asteron Offline
"Skilled" Python Coder
Posts: 933
Joined: Feb 2004
Reputation: 0
Post: #20
i was able to find a decent enough web site and made some rough portfolios for some sectors (i just selected the companies i heard about though). if people tweek this thing out please post lists here though!

here is the grand 1.0 version... it took some 30 hours of work and makes use of 208 controls (grid layout is hardwork).
i really concentrated an heavily on the interface and hope you all like it :-)

http://www.filespace.org/asteron/xstocks.rar
edit: mirror = http://fast.filespace.org/asteron/xstocks.rar
again new in this version is scrolling, sorting and builtin multiple portfolios.

edit: added screenshot http://www.filespace.org/asteron/xstocks.png
http://fast.filespace.org/asteron/xstocks.png
also fixed a small bug.

-ast
find quote