human
Can you provide a the Python code you requested given the following:
Complete the below
@cli.command()
@click.argument('redis_url', required=True)
def quotation_server(redis_url):

    ''''[sys_stock_realtime] quotation service, download market data into redis
    Multiple RQAlpha instance can use single market data service.'
    '''
assistant
#Here is the Python code you requested.
    import redis
    import time
    import json
    from .utils import get_realtime_quotes
    redis_client = redis.from_url(redis_url)
    from rqalpha.data.data_proxy import DataProxy
    config = parse_config({}, verify_config=False)
    data_source = BaseDataSource(config.base.data_bundle_path)
    data_proxy = DataProxy(data_source)
    order_book_id_list = sorted((ins.order_book_id for ins in data_proxy.all_instruments('CS')))
    def record_market_data(total_df):
        for (order_book_id, item) in total_df.iterrows():
            redis_client[order_book_id] = json.dumps(item.to_dict())
    while True:
        try:
            total_df = get_realtime_quotes(order_book_id_list, include_limit=True)
        except Exception as e:
            system_log.exception('get_realtime_quotes    fail.    {}', e)
            continue
        system_log.info('Fetching    snapshots,    size    {}', len(total_df))
        record_market_data(total_df)
        time.sleep(1)