class_docstr: Singleton class wrapping to control the connections to Oanda.
  
  Params:
  
    - ``token`` (default:``None``): API access token
  
    - ``account`` (default: ``None``): account id
  
    - ``practice`` (default: ``False``): use the test environment
  
    - ``account_tmout`` (default: ``10.0``): refresh period for account
      value/cash refresh
class_docstr_tok: ["Singleton","class","wrapping","to","control","the","connections","to","Oanda",".","Params",":","-","``","token","``","(","default",":","``","None","``",")",":","API","access","token","-","``","account","``","(","default",":","``","None","``",")",":","account","id","-","``","practice","``","(","default",":","``","False","``",")",":","use","the","test","environment","-","``","account_tmout","``","(","default",":","``","10.0","``",")",":","refresh","period","for","account","value\/cash","refresh"]
code: def get_instrument(self, dataname):
      try:
          insts = self.oapi.get_instruments(
              self.p.account, instruments=dataname
          )
      except (
          oandapy.OandaError,
          OandaRequestError,
      ):
          return None
  
      i = insts.get("instruments", [{}])
      return i[0] or None
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import collections
  from datetime import datetime, timedelta
  import time
  import json
  import threading
  import oandapy
  import requests
  import backtrader
  from backtrader.metabase import MetaParams
  from backtrader.utils.py3 import queue, with_metaclass
  from backtrader.utils import AutoDict
label_desc: Use image node_id 10 for calling the OandaStore obj's underlying member method code with example usage: obj.get_instrument(dataname) and returns: unknown, None