Skip to content

Commit

Permalink
added examples to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
webholics committed Jan 21, 2013
1 parent 5b8c29f commit 6e61621
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,33 @@ There are the following rating systems shipped with trader:
- __orderby__(factName, descending=true): Order equities by a fact in the latestFact object.
- __levermann__(indexName): Rating system according to Susanne Levermann's book "Der entspannte Weg zum Reichtum"

## Examples

Load the 30 equities of the DAX and display as text table:

$ trader -i dax -o table

Load equities of TecDax from Frankfurt Stock Exchange and output as JSON:

$ trader -i index:tecdax:FSE -o json

Load a single equity by ISIN:

$ trader -i isin:DE0005419105:FSE -o table

Load the 30 equities of the DAX, display as text table and order by dividend per share descending:

$ trader -i dax -o table -r orderby:dividendPerShare

Rate DAX with Levermann rating system:

$ trader -i dax -o table -r levermann

Output DAX to file first, read from file and rate with Levermann:

$ trader -i dax -o json > dax.json
$ trader -i jsonfile:dax.json -o table -r levermann:DAX

## Data Format

An equity object should contain the following attributes:
Expand Down

0 comments on commit 6e61621

Please sign in to comment.