diff options
Diffstat (limited to 'cli/openbb_cli/assets/routines/routine_example.openbb')
-rw-r--r-- | cli/openbb_cli/assets/routines/routine_example.openbb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cli/openbb_cli/assets/routines/routine_example.openbb b/cli/openbb_cli/assets/routines/routine_example.openbb new file mode 100644 index 00000000000..72c7fa574aa --- /dev/null +++ b/cli/openbb_cli/assets/routines/routine_example.openbb @@ -0,0 +1,21 @@ +# Go into the equity context +equity + +# Get the company's profile +profile --symbol aapl + +# Get company's statements +fundamental +balance --symbol aapl +cash --symbol aapl +transcript --symbol aapl --year 2023 + +# Load company's historical data +../price +historical --symbol aapl + +# Get its performance +performance --symbol aapl + +# Export the candle as an image and the historical data into a csv +historical --symbol aapl --chart --export csv,jpg
\ No newline at end of file |