Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Rumball
Old
(Last edited by Rumball; 29th January 2009 at 12:46 AM.)
#1  
Rumball's Avatar
Senior Member - OP
Thanks Meter 293
Posts: 1,472
Join Date: Aug 2007
Location: Toronto

 
DONATE TO ME
Default [Jan 28] Stock Quotes & Charts Page for ThrottleLauncher v1.3

After searching high and low for a simple but eye-appealing stock quote and stock chart utility that I could use with ThrottleLauncher, I finally gave up and put one together myself. I call it ThrottleStocks.






I would like to acknowledge APBilbo for creating ThrottleLauncher. It ROCKS! I would like to also acknowledge the "PocketStock Center" work over on TreoCentral.com which helped give me the idea.

Release History:

V1.3 (28 Jan 09)
- changed chart source to www.marketwatch.com
- added week, month, 3month, 6month, 1year, and 2year stock charts
- added ability to edit stocks you've already entered into the database.

Important: If you are updating from a previous version then you will need to edit each of the stocks in your portfolio and change the chart stock symbol from the old Google one to the new www.marketwatch.com symbol.

V1.2 (26 Jan 09)
- fixed path to Mortscript and stock download scheduling

V1.1
- tried to improve error handling with stock downloading

Pre-Requistes:

1. You need ThrottleLauncher 0.9.6 installed (obviously)
2. The installation instructions below assume you are using APBilbo's TouchFlo3D theme that he distributes with ThrottleLauncher
3. You need Mortscript installed
4. You have the Segui fonts installed in your Windows\Font directory. If you don't you can find the fonts attached here. Unzip and place in windows\font directory.

To install:

1. Extract the attached zip file into your ThrottleLauncher\Setups\TouchFlo3D directory.

2. Start ThrottleConfig and Configure TouchFlo3D. On the new Stocks page choose whether you want the "Advanced" or "Basic" layout.

3. Enable the new "Stock" page in the TouchFlo3D config. Save and reload ThrottleLauncher

4. When ThrottleLauncher restarts you'll see a blank Stock page with buttons along the bottom. The first thing you'll need to do is click on the Settings button (it looks like a gear). This will open up the stocks config menu where you can perform the following;

a) Setup stock quote download schedule. Set the start and end time to download quotes, and the interval in minutes. Note that stocks will only be downloaded on week-days.

b) Enabled/Disable Stock Intra-Day chart downloads. If you are using the "Advanced" layout in ThrottleLauncher you'll need to Enable intra-day chart downloading. If you just want the basic layout you can leave chart downloading disabled and save on data downloading

c) Add stock. Here you'll be asked for the stock name, and the stock symbols. Note that currently it asks for both the stock symbol on Yahoo and on Google. The reason for this is that the quotes are downloaded from Yahoo while the charts are downloaded from Google and the stock symbols are not always the same on both sites. You'll be asked how many stocks you own and how much you paid for them...you can leave this blank as currently this data is not used.

d) Delete stock. Enter the stock symbol and it will delete it from the database.

e) Edit stock. Enter the stock symbol of the stock you want to edit...this will let you then modify its name and stock symbols.

f) Force chart refresh on exit. By default the 1month to 2 year stock charts are only downloaded once per day. If you select this option it will force an update of all the stock charts.

g) Exit. When you exit the setup it will automatically start a download of the stock data.

5. After the stock data has downloaded you will likely need to restart throttlelauncher in order for the stock page to display correctly.

Known Bugs/Issues:

This is a work in progress. The known issues are;

1. When stock charts are downloading there is a progress window that appears. I don't know yet how to get rid of this...but am looking into it.

2. ThrottleLauncher is currently unable to have a dynamic list. Currently the stocks.xml file is hardcoded to have 9 stocks displayed on the page. If you have more or less stocks in your portfolio you may want to edit the stocks.xml file and adjust the file accordingly. Look for the text in="1,2,3,4,5,6,7,8,9" and add or remove numbers accordingly. Note that there are two spots in the xml file where this is used. Hopefully this will get fixed in a future release of ThrottleLauncher

3. The stock tabs along the right side of the screen (in advanced layout) do not update their color correctly. This is a TL bug that is said to be fixed in the next TL release

4. Clicking on the stock chart is suppose to take you to the yahoo web-page for the stock. This doesn't work correctly at the moment.
Attached Files
File Type: zip segoeui font.zip - [Click for QR Code] (968.5 KB, 267 views)
File Type: zip ThrottleStocks v1.3.zip - [Click for QR Code] (608.3 KB, 310 views)
 
TheChampJT
Old
#2  
TheChampJT's Avatar
Senior Member
Thanks Meter 6
Posts: 2,015
Join Date: Feb 2008
Nice work, looks great!
Samsung Captivate
Samsung Galaxy Tab
 
nir36
Old
#3  
nir36's Avatar
Retired Moderator
Thanks Meter 205
Posts: 3,844
Join Date: Dec 2007
Location: Jerusalem
my god this is great
there are people in this forum who're like Logitech. everything they do is impeccable.

one request tho.. and i hope it's doable.
is there a chance you could convert it to a regular today plugin so that people who're not using throttle launcher can use it?
 
JukEboXAuDiO
Old
#4  
JukEboXAuDiO's Avatar
Senior Member
Thanks Meter 0
Posts: 776
Join Date: Apr 2008
This is awesome. great job!
Personal Phone
HTC Trophy
Carrier: Verizon
OS Version: 7.0.7.389.0
Radio: 3.2.3.D4
Bootloader: 1.3.230506.23
 
JukEboXAuDiO
Old
#5  
JukEboXAuDiO's Avatar
Senior Member
Thanks Meter 0
Posts: 776
Join Date: Apr 2008
Installed this and this causes my throttlelauncher not not load.
Personal Phone
HTC Trophy
Carrier: Verizon
OS Version: 7.0.7.389.0
Radio: 3.2.3.D4
Bootloader: 1.3.230506.23
 
Rumball
Old
#6  
Rumball's Avatar
Senior Member - OP
Thanks Meter 293
Posts: 1,472
Join Date: Aug 2007
Location: Toronto

 
DONATE TO ME
Quote:
Originally Posted by JukEboXAuDiO View Post
Installed this and this causes my throttlelauncher not not load.
Sorry!

A couple things to check;

1) You are using the TouchFlo3D theme that APBilbo released with TL v0.9.6
2) Prior to enabling TL you ran TL config and configured TouchFlo3D (enable Stock Tab)
3) Try running the StockConfig.mscr mortscript before enabling TL... It can be found in TouchFlo3D\Throttle Stocks\mscr
 
norkoastal
Old
#7  
norkoastal's Avatar
Senior Member
Thanks Meter 14
Posts: 619
Join Date: Dec 2007
Location: Bay Area
Ant plans to port this to the VGA Iphone theme?? The homepage has room for two new programs...

Thanks
Device: 3vo - Shootem! | ROM: Stock
Nook Color | ROM: Full Root Running CM7
 
redflag
Old
#8  
redflag's Avatar
Member
Thanks Meter 0
Posts: 92
Join Date: Dec 2007
Location: Newbury
Thumbs up 24 hr Review

Using Hermes 6.0 and TL 9.6 and no problems whatsoever , well done! It runs faster than my shares are falling and looks great (only used advanced version to date). Incidentally I did not install to TouchFlo3d but straight into my own custom theme yet it still worked ok except I lost my own custom footer icons, I can still see the xml so am placing them into black n blue tonite. Thanks again
HTC Desire Z (Stock)
O2 Serra (Rafael WM 6.5.5 Manila 2.5 May 9 23569 CHT)
Orange SPV 3100 (Hermes WM6.5 Retired)

 
Rumball
Old
#9  
Rumball's Avatar
Senior Member - OP
Thanks Meter 293
Posts: 1,472
Join Date: Aug 2007
Location: Toronto

 
DONATE TO ME
I've updated the mortscripts to try and make the stock download process more tolerant of errors (particularily timeouts). See 1st post for update.

I still haven't figured out how to stop Mortscript from display the download progress window...
 
Rumball
Old
#10  
Rumball's Avatar
Senior Member - OP
Thanks Meter 293
Posts: 1,472
Join Date: Aug 2007
Location: Toronto

 
DONATE TO ME
I've updated the theme and scripts to now include week, month, 3month, 6month, 1year, and 2year stock charts. See the first post for the new v1.3

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more