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 json | |
import hmac | |
import hashlib | |
import time | |
import requests | |
from requests.auth import AuthBase | |
import os | |
with open(os.path.join(os.path.dirname(__file__), 'config.json')) as config_file: | |
config = json.load(config_file) |
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 json | |
import hmac | |
import hashlib | |
import time | |
import requests | |
from requests.auth import AuthBase | |
import os | |
with open(os.path.join(os.path.dirname(__file__), 'config.json')) as config_file: | |
config = json.load(config_file) |
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
{ | |
"API_KEY": "", | |
"API_SECRET": "", | |
"DEPOSIT_ID": "", | |
"PAYMENT_METHOD": "", | |
"DEPOSIT_AMOUNT": 10, | |
"DEPOSIT_CURRENCY": "USD", | |
"BTC_ADDRESS": "", | |
"WITHDRAW_CURRENCY": "BTC", | |
"WITHDRAWAL_ID": "", |
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 json | |
import gspread | |
from oauth2client.service_account import ServiceAccountCredentials | |
from datetime import datetime, timezone | |
from coinbase_advanced_trader import coinbase_client | |
from coinbase_advanced_trader.config import set_api_credentials | |
# Link to Base Spreadsheet - https://docs.google.com/spreadsheets/d/1VYuy5cSnZiQqF4yp6_sVFpLXXXszCGEiMh-Z37mKims/edit?usp=sharing | |
COINBASE_PUBLIC_KEY = '' | |
COINBASE_PRIVATE_KEY = '' |
OlderNewer