from requests_oauthlib import OAuth1
import json

with open('../aws_scp/aaa.txt') as json_file:
    data = json.load(json_file)

consumer_key = data['consumer_key']
consumer_key_secret = data['consumer_key_secret']
oauth_token = data['oauth_token']
oauth_token_secret = data['oauth_token_secret']
oauth_hdr = OAuth1(consumer_key, consumer_key_secret, oauth_token,
                   oauth_token_secret)
acct_num = data['acct_num']
stock_endpoint = data['stock_endpoint']
option_endpoint = data['option_endpoint']
trade_endpoint = data['trade_endpoint']
balance_endpoint = data['balance_endpoint']
host = data['host']
access_key = data['access_key']
secret_key = data['secret_key']
