INNER CODE UNIT · Python

get_bspoint

ibaihuo/chanvis · api/chanapi.py:245

def get_bspoint():
    """获取买卖点
    """
    sym = request.args.get('symbol', 'btc')
    freq = request.args.get('resolution', '1')

    if sym in ('BTC', 'BHCoin'):
        sym = 'btc'

    if sym in ('SH',):
        sym = 'sh'

    freq = RESOU_DICT[freq]

    print(sym, freq)

    if freq == '1D':
        freq = '1440'

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…