• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

OmegaChartのソースコードの保守


Commit MetaInfo

Revisãob2b0cd0f47e457c9d68011ce8f8a7494f7d0baec (tree)
Hora2019-04-24 21:44:01
Autorpanacoran <panacoran@user...>
Commiterpanacoran

Mensagem de Log

データが空のときにYahooから日経平均とTOPIXを取得できないのを直す

Revert "Yahoo時系列から株価を取得するときに上場前の出来高0のデータを取り除く"

This reverts commit bdd136d0b9b36df55a5360f7e4002ae32db8a449.

Mudança Sumário

Diff

--- a/Yahoo.cs
+++ b/Yahoo.cs
@@ -110,15 +110,8 @@ namespace Zanetti.DataSource.Specialized
110110 public void UpdateDataFarm(int code, SortedDictionary<int, NewDailyData> prices)
111111 {
112112 var farm = (DailyDataFarm)Env.BrandCollection.FindBrand(code).CreateDailyFarm(prices.Count);
113- var empty = farm.IsEmpty;
114- var skip = true;
115113 foreach (var pair in prices)
116- {
117- if (empty && skip && pair.Value.volume == 0)
118- continue;
119- skip = false;
120114 farm.UpdateDataFarm(pair.Key, pair.Value);
121- }
122115 farm.Save(Util.GetDailyDataFileName(code));
123116 }
124117