@account.route('/confirm-account/<token>')
@login_required
def confirm(token):
    if current_user.confirmed:
        return redirect(url_for('main.index'))
    if current_user.confirm_account(token):
        flash('Your account has been confirmed.', 'success')
    else:
        flash('The confirmation link is invalid or has expired.', 'error')
    return redirect(url_for('main.index'))
Returns up to 1 year of OANDA Order book data
dataset/ETHPy150Open hack4impact/flask-base/app/account/views.py/confirm--crossover with--dataset/ETHPy150Open jamesmawm/Mastering-Python-for-Finance-source-codes/B03898_08_codes/oandapy.py/EndpointsMixin.get_orderbook