Administrator
2024-10-18 f327048f2097293ed1e4f484bab1de04901074dc
utils/tool.py
@@ -303,7 +303,11 @@
    # if price - 0.1 < fprice:
    #     fprice = price - 0.1
    # return round(fprice, 2)
    if price < 20:
    return round(get_buy_min_price(price) - 0.03, 2)
    else:
        # 大股价直接向下取2%
        return round(price*(1-0.02), 2)
if __name__ == "__main__":