From ddb40ad26d68af194eee5ffb80c91a0c3f939a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=B9=B2?= Date: Fri, 25 May 2018 18:28:19 +0800 Subject: [PATCH] =?UTF-8?q?=09=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20=20Pr?= =?UTF-8?q?iceSystem/sell=5Fprice/zhuge0118A.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fix/__pycache__/price_fix.cpython-36.pyc | Bin 3507 -> 3507 bytes PriceSystem/sell_price/zhuge0118A.py | 11 +++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/PriceSystem/fix/__pycache__/price_fix.cpython-36.pyc b/PriceSystem/fix/__pycache__/price_fix.cpython-36.pyc index 99a0e2b030a17af85b06e120a450dec494ceab0a..4f6af3300ef1651dd92dc397ab12654c278c1b2c 100644 GIT binary patch delta 16 Xcmdliy;+*wn3tC;^A`I?_BFf!C?*89 delta 16 Xcmdliy;+*wn3tDJ){Au``x;&VBB%q{ diff --git a/PriceSystem/sell_price/zhuge0118A.py b/PriceSystem/sell_price/zhuge0118A.py index d587c62..5acf30f 100644 --- a/PriceSystem/sell_price/zhuge0118A.py +++ b/PriceSystem/sell_price/zhuge0118A.py @@ -52,7 +52,7 @@ def front_step_time(weekend,day): ############################################################ ############################################################ -credit = pandas.Series([0.9,0.85, 0.8,0.75, 0.7, 0.6, 0.5], index=['0.9', '0.85','0.8','0.75', '0.7', '0.6', '0.5']) +credit = pandas.Series([0.9,0.88,0.85, 0.8,0.75, 0.7, 0.6, 0.5], index=['0.9', '0.88','0.85','0.8','0.75', '0.7', '0.6', '0.5']) value_type = pandas.Series([1, 2, 3, 4, 5, 6, 7], index=['指导价', '自身样本', '第三方', '交易数据', '周边楼盘', '推导', '优质样本']) @@ -1247,7 +1247,14 @@ def commonprice(ct, rl, p,weekend): dggg=map_time_price(junjia,dglg,ppd3) - if dggg[0]>0 : + + if len(junjia)>4: + sample_size = len(junjia) + return dglg, float('%.2f' % credit['0.88']), value_type['第三方'], sample_size + + + + elif dggg[0]>0 : return dggg