Files
OpenBB/openbb_terminal/forex/oanda/oanda_api.py
jmaslek b71abcfbf4 Updating some names (#1575)
* quick econ fix

* black

* keys and feature flags

* terminal name 👀

* some more replacements

* some more replacements

* edit pyproject

* gst -> openbb

* add example portfolios back to git

* Update api from gst

* sorry.  skipping some tests

* another round of names

* another round of test edits

* Missed some .gst refs and update timezone

* water mark stuff

* Fixing Names in terminal.spec and name of GTFF_DEFAULTS to OBBFF_DEFAULTS

* fix more GST to OpenBB Terminal

* Logging : merge conflicts with main

* Revert wrong files

Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-29 09:46:26 -04:00

28 lines
1.3 KiB
Python

"""Oanda context API."""
import os
from openbb_terminal.helper_classes import ModelsNamespace as _models
# flake8: noqa
# pylint: disable=unused-import
# Context menus
from openbb_terminal.forex.oanda.oanda_view import get_fx_price as price
from openbb_terminal.forex.oanda.oanda_view import get_account_summary as summary
from openbb_terminal.forex.oanda.oanda_view import get_order_book as orderbook
from openbb_terminal.forex.oanda.oanda_view import get_position_book as positionbook
# Renamed due to python reserved word
from openbb_terminal.forex.oanda.oanda_view import list_orders as listorder
from openbb_terminal.forex.oanda.oanda_view import create_order as order
from openbb_terminal.forex.oanda.oanda_view import cancel_pending_order as cancel
from openbb_terminal.forex.oanda.oanda_view import get_open_positions as positions
from openbb_terminal.forex.oanda.oanda_view import get_pending_orders as pending
from openbb_terminal.forex.oanda.oanda_view import get_open_trades as trades
from openbb_terminal.forex.oanda.oanda_view import close_trade as closetrade
from openbb_terminal.forex.oanda.oanda_view import show_candles as candles
from openbb_terminal.forex.oanda.oanda_view import calendar
# Models
models = _models(os.path.abspath(os.path.dirname(__file__)))