ScrewTurn

Active Trader Strategies API Community ChartStyles Community Commissions Community Components Community Indicators Community Providers Community Visualizers Knowledge Base Misc Optimizers PosSizers Standard Indicators TASC Traders Tips TASCIndicators Tutorial Videos
RSS

Navigation







Quick Search
»
Advanced Search »

PoweredBy

Syntax


public int GetStockScouter( string symbol )

Parameter Description

symbol The symbol (ticker) of a U.S. stock

Description

Returns the so called "StockScouter Rating" for U.S. stocks, according to the MSN's MoneyCentral web site. For more details, see:


Example

The following code example by Robert Sucher requests a StockScouter rank for all symbols of a DataSet and display the sorted results:


using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Net;
using WealthLab;
using Community.Components;

namespace WealthLab.Strategies { public class SymbolRank { public string sym; public int ssRank; } public class StockScouterDemo : WealthScript { protected override void Execute() { Utility u = new Utility( this ); List<SymbolRank> L = new List<SymbolRank>(); foreach(string sym in DataSetSymbols) { PrintStatusBar("Processing: " + sym); try { SymbolRank sr = new SymbolRank(); sr.sym = sym; sr.ssRank = u.GetStockScouter( sym ); L.Add(sr); } catch { PrintDebug("Error scouting: " + sym); } } // sort and display the list L.Sort(delegate(SymbolRank sr1, SymbolRank sr2) {return sr2.ssRank.CompareTo(sr1.ssRank); }); foreach(SymbolRank sr in L) PrintDebug(sr.sym + "\t" + sr.ssRank); PrintStatusBar("Complete!"); } } }

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes.

Used under license from FMR Corp. Copyright 2008 FMR Corp. All rights reserved.


ScrewTurn Wiki version 3.0.2.509. Some of the icons created by FamFamFam.