Skip to content

Instantly share code, notes, and snippets.

@dbb
Created February 17, 2011 23:32
Show Gist options
  • Save dbb/832973 to your computer and use it in GitHub Desktop.
Save dbb/832973 to your computer and use it in GitHub Desktop.
carta options
Usage: carta [SYMBOL] [OPTIONS]
Symbol is required and case-insensitve;
Configuration:
You can set default options, the image viewing application, and down-
loading application in the top lines of the script file itself. The
default viewer is 'feh', and the default downloader is 'curl'.
Basic options:
-t Timeframe
days: 1d (default), 5d
months: 3m, 6m
years: 1y, 2y, 5y
max: my
-c Chart type
line: l (default)
bar: b
candle: c
-s Scale
linear: lin
logarithmic: log
-z siZe
medium: m
large: l (default)
Comparison:
-dow compare symbol vs Dow
-nas compare symbol vs NASDAQ
-sp compare symbol vs S&P
-vs compare symbol vs following symbol (see examples)
Chart Overlays:
-p previous close ( only valid with -t 1d ) or splits
-b Bolinger bands
-r parabolic SAR
-vo volume
Sub-charts:
-v volume (enabled by default)
-mfi MFI
-mac MACD/Signal
-roc ROC
-rsi RSI
-wr W%R
Locale:
-lang language-country_code (default is en-US)
-reg region (country code, default is US)
Examples:
carta aapl -t 5d -z m -vs msft
gets Apple's 5 day large chart with a comparison to Microsoft
carta
Bugs:
All bugs and feature requests should be directed to dbbolton on GitHub.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment