This file contains 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
# if bitcoin price on Bitstamp doubles within a 7-day timeframe, sell | |
from datetime import datetime as dt | |
from datetime import timedelta | |
import hashlib | |
import hmac | |
import json | |
from time import sleep | |
import requests |