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, talib | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
from mpl_finance import candlestick_ohlc as candles | |
import csv | |
import matplotlib.dates as mdates | |
import time | |
from db import Session, Signals | |
from flask import Flask, request, url_for, jsonify |
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 datetime | |
import email | |
import imaplib | |
import time | |
import logging | |
def readmail(volume): | |
time.sleep(1.5) | |
m = imaplib.IMAP4_SSL("imap.gmail.com") |