xiaopc / qdii-value

估算 QDII 基金的净值
https://qdii.vercel.app
MIT License
90 stars 11 forks source link

InvalidOperation: [<class 'decimal.ConversionSyntax'>] #7

Closed aizxin closed 3 years ago

aizxin commented 3 years ago
{
    "_id":"001668",
    "equities":[
        {
            "capital":"8,851.10",
            "code":"AMZN",
            "name":"亚马逊",
            "source":"investing",
            "source_id":6435,
            "volume":"0.42",
            "weight":"4.06"
        },
        {
            "capital":"8,629.77",
            "code":"0700",
            "name":"腾讯控股",
            "source":"investing",
            "source_id":102047,
            "volume":"18.18",
            "weight":"3.95"
        },
        {
            "capital":"8,555.23",
            "code":"MSFT",
            "name":"微软公司",
            "source":"investing",
            "source_id":252,
            "volume":"5.90",
            "weight":"3.92"
        },
        {
            "capital":"6,619.48",
            "code":"PDD",
            "name":"拼多多公司",
            "source":"investing",
            "source_id":1089236,
            "volume":"5.71",
            "weight":"3.03"
        },
        {
            "capital":"6,411.91",
            "code":"3690",
            "name":"美团-W",
            "source":"investing",
            "source_id":1096030,
            "volume":"25.86",
            "weight":"2.94"
        },
        {
            "capital":"6,303.26",
            "code":"01810",
            "name":"小米集团-W",
            "source":"sina",
            "source_id":"31#01810",
            "volume":"225.58",
            "weight":"2.89"
        },
        {
            "capital":"6,074.08",
            "code":"EDU",
            "name":"新东方",
            "source":"sina",
            "source_id":"41#edu",
            "volume":"5.01",
            "weight":"2.78"
        },
        {
            "capital":"5,355.94",
            "code":"FB",
            "name":"Facebook",
            "source":"sina",
            "source_id":"41#fb",
            "volume":"3.01",
            "weight":"2.45"
        },
        {
            "capital":"4,530.45",
            "code":"BILI",
            "name":"哔哩哔哩",
            "source":"sina",
            "source_id":"41#bili",
            "volume":"8.10",
            "weight":"2.08"
        },
        {
            "capital":"4,389.80",
            "code":"TSM",
            "name":"台积电",
            "source":"sina",
            "source_id":"41#tsm",
            "volume":"6.17",
            "weight":"2.01"
        }
    ],
    "forex":null,
    "fund_name":"汇添富全球互联混合",
    "fund_source":"eastmoney",
    "last_update":"2020-12-31",
    "reference":null,
    "version":3
}
xiaopc commented 3 years ago

fixed in 0.3.23