This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
from urllib.parse import unquote | |
from selenium import webdriver | |
from selenium.webdriver.firefox.options import Options | |
API_KEY = '*******' # Also called the `client_id` | |
SECRET_KEY = '*******' | |
REDIRECT_URI = 'http://localhost:8080' # Arbitrary for headless. | |
BASE_URL = 'https://sim-api.tradestation.com/v2' |