from zipline.data.bundles import register
from zipline.data.bundles.csvdir import csvdir_equities
import pandas as pd

start_session = pd.Timestamp('2017-01-02', tz='utc')
end_session = pd.Timestamp('2017-12-29', tz='utc')

# register the bundle
register(
        'binance-csv',  # name we select for the bundle
        csvdir_equities(
                    # name of the directory as specified above (named after data frequency)
                    ['daily', 'minute'],
                    # path to directory containing the
                    '/root/.zipline/binance-csv',
                ),
        calendar_name='24/7',
        # start_session=start_session,
        # end_session=end_session
)

from zipline.data.bundles import register
from zipline.data.bundles.csvdir import csvdir_equities
import pandas as pd

start_session = pd.Timestamp('2017-01-02', tz='utc')
end_session = pd.Timestamp('2017-12-29', tz='utc')

# register the bundle
register(
        'binance-csv',  # name we select for the bundle
        csvdir_equities(
                    # name of the directory as specified above (named after data frequency)
                    ['daily', 'minute'],
                    # path to directory containing the
                    '/root/.zipline/binance-csv',
                ),
        calendar_name='24/7',
        # start_session=start_session,
        # end_session=end_session
)

# register the bundle # name we select for the bundle # name of the directory as specified above (named after data frequency) # path to directory containing the # start_session=start_session, # end_session=end_session