OmegaChartのソースコードの保守
Revisión | 44e9801e66d7a236d8d29f6093eb172107dcb85d (tree) |
---|---|
Tiempo | 2021-07-21 21:54:48 |
Autor | panacoran <panacoran@user...> |
Commiter | panacoran |
Yahooファイナンスからの取得で日経平均とTOPIXが歯抜けになるのを直す
@@ -180,7 +180,7 @@ namespace Zanetti.DataSource.Specialized | ||
180 | 180 | } |
181 | 181 | |
182 | 182 | private static readonly Regex Valid = new Regex( |
183 | - @"<tr[^>]*><t[hd][^>]*>(?<year>\d{4})年(?<month>1?\d)月(?<day>\d?\d)日<\/t[hd]><td[^>]+>(?:<span[^>]+>)+(?<open>[0-9,.]+)<\/span>.*?<\/td><td[^>]+>(?:<span[^>]+>)+(?<high>[0-9,.]+)<\/span>.*?<\/td><td[^>]+>(?:<span[^>]+>)+(?<low>[0-9,.]+)<\/span>.+?<\/td><td[^>]+>(?:<span[^>]+>)+(?<close>[0-9,.]+)<\/span>.+?<\/td>(?:<td.*?>(?<volume>[0-9,.]+)<\/span>.+?<\/td>)?<\/tr>", | |
183 | + @"<tr[^>]*><t[hd][^>]*>(?<year>\d{4})年(?<month>1?\d)月(?<day>\d?\d)日<\/t[hd]><td[^>]+>(?:<span[^>]+>)+(?<open>[0-9,.]+)(?:<\/span>)+<\/td><td[^>]+>(?:<span[^>]+>)+(?<high>[0-9,.]+)(?:<\/span>)+<\/td><td[^>]+>(?:<span[^>]+>)+(?<low>[0-9,.]+)(?:<\/span>)+<\/td><td[^>]+>(?:<span[^>]+>)+(?<close>[0-9,.]+)(?:<\/span>)+<\/td>(?:<td.*?>(?<volume>[0-9,.]+)(?:<\/span>)+<\/td>)?<\/tr>", | |
184 | 184 | RegexOptions.Compiled); |
185 | 185 | |
186 | 186 | private static readonly Regex NoData = new Regex("時系列情報がありません"); |