OpenBB icon indicating copy to clipboard operation
OpenBB copied to clipboard

Added `exchange` filter in `stocks\search`

Open dot-agi opened this issue 2 years ago • 0 comments

Description

  • [x] Issue Fixed: #4778
  • [x] Summary of fixes/additions:
  • Modified the argument exchange to the exchange_country argument and -e to -ec
  • Added the new exchange filter that can search based on the exchange name e.g. NYS, FRA etc
  • Fixed docstring for call_search in stocks_helper.py by adding info about exchange and industry_group arguments

How has this been tested?

Tested using various command argument combinations on the terminal and via SDK.

  • [x] Make sure affected commands still run in terminal
  • [x] Ensure the SDK still works
  • [x] Check any related reports

Checklist:

Others

  • [x] I have performed a self-review of my own code.
  • [x] I have commented my code, particularly in hard-to-understand areas.

dot-agi avatar Apr 17 '23 11:04 dot-agi