import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output

from financial_dash.components.series_plot import SeriesPlot
from financial_dash.components.table import NewsTable
from financial_dash.services.quandl import QuandlService

# Initialize the app
app = dash.Dash()

# Pull financial data down from quandl
qs = QuandlService()
data = qs.get_quandl(from_file = True)
series_plot = SeriesPlot(data)

# Main app layout
app.layout = html.Div(children = [
        series_plot.div
    ]
)

# Functions to update graphs
@app.callback(
    Output('ts-plot', 'figure'),
    [Input('ts-dropdown', 'value')]
)
def update_ts_plot(selected_series):
    return series_plot.build_figure(selected_series)

app.css.append_css({
    "external_url" : "https://github.com/MthwRobinson/" +
    "financial_dash/blob/master/financial_dash/style/style.css"
})

if __name__ == '__main__':
    app.run_server(debug=True)

c15657cf8138453f9cf787290de37e398d30f36f
<mask token>


@app.callback(Output('ts-plot', 'figure'), [Input('ts-dropdown', 'value')])
def update_ts_plot(selected_series):
    return series_plot.build_figure(selected_series)


<mask token>

<mask token>


@app.callback(Output('ts-plot', 'figure'), [Input('ts-dropdown', 'value')])
def update_ts_plot(selected_series):
    return series_plot.build_figure(selected_series)


app.css.append_css({'external_url': 'https://github.com/MthwRobinson/' +
    'financial_dash/blob/master/financial_dash/style/style.css'})
if __name__ == '__main__':
    app.run_server(debug=True)

<mask token>
app = dash.Dash()
qs = QuandlService()
data = qs.get_quandl(from_file=True)
series_plot = SeriesPlot(data)
app.layout = html.Div(children=[series_plot.div])


@app.callback(Output('ts-plot', 'figure'), [Input('ts-dropdown', 'value')])
def update_ts_plot(selected_series):
    return series_plot.build_figure(selected_series)


app.css.append_css({'external_url': 'https://github.com/MthwRobinson/' +
    'financial_dash/blob/master/financial_dash/style/style.css'})
if __name__ == '__main__':
    app.run_server(debug=True)

import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output
from financial_dash.components.series_plot import SeriesPlot
from financial_dash.components.table import NewsTable
from financial_dash.services.quandl import QuandlService
app = dash.Dash()
qs = QuandlService()
data = qs.get_quandl(from_file=True)
series_plot = SeriesPlot(data)
app.layout = html.Div(children=[series_plot.div])


@app.callback(Output('ts-plot', 'figure'), [Input('ts-dropdown', 'value')])
def update_ts_plot(selected_series):
    return series_plot.build_figure(selected_series)


app.css.append_css({'external_url': 'https://github.com/MthwRobinson/' +
    'financial_dash/blob/master/financial_dash/style/style.css'})
if __name__ == '__main__':
    app.run_server(debug=True)

import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output

from financial_dash.components.series_plot import SeriesPlot
from financial_dash.components.table import NewsTable
from financial_dash.services.quandl import QuandlService

# Initialize the app
app = dash.Dash()

# Pull financial data down from quandl
qs = QuandlService()
data = qs.get_quandl(from_file = True)
series_plot = SeriesPlot(data)

# Main app layout
app.layout = html.Div(children = [
        series_plot.div
    ]
)

# Functions to update graphs
@app.callback(
    Output('ts-plot', 'figure'),
    [Input('ts-dropdown', 'value')]
)
def update_ts_plot(selected_series):
    return series_plot.build_figure(selected_series)

app.css.append_css({
    "external_url" : "https://github.com/MthwRobinson/" +
    "financial_dash/blob/master/financial_dash/style/style.css"
})

if __name__ == '__main__':
    app.run_server(debug=True)
