INNER CODE UNIT · Python

bzzs_mark

ibaihuo/chanvis · api/chanapi.py:423

def bzzs_mark():
    """
    线段的标记的点
    """
    mtype = request.args.get('mtype', 'czxd_dg')
    sym = request.args.get('symbol', 'BTC')
    tf = request.args.get('tf', '1')

    tf = RESOU_DICT[tf]

    col = CHAN_DB[ESSENCE_XD_COL.format(sym=sym, tf=tf)]

    data = None

    if mtype == 'bzxd_zzk':
        data = list(col.find({'xddg_ind': {'$ne': {}}, },
                             {'_id': False, 'xddg_ind': True}
                             ))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…