ã¹ã¯ãªããè¨èªãRubyã使ã£ã¦çµæ¸ææ¨ã®èªåå·¡åããã°ã©ã ãä½ãã¾ããã2014å¹´ã®Rubyã®ç· ãã¨ãã¦å ¬éã
Â
çµæ¸ææ¨ã¨ã®åºä¼ã
表é¡ã®éããrubyã®åå¼·ãã¦ããçµæ¸ææ¨å·¡åããã°ã©ã ãä½ã£ã¦ã¿ã¾ããï¼
Â
çµæ¸ææ¨ã£ã¦ä½ãï¼ã£ã¦ãã人ãããã¨æãã¾ãããç±³FOMCæ¿çéå©çºè¡¨ãéç¨çµ±è¨ã®çºè¡¨ãªã©ä¸çä¸ã®çºæ¿ãæ ªã®å¤åãã«ç´çµãããããªæ¥ã ã®ã¤ãã³ãã®ãã¨ã§ããï¼
Â
ãæ¬æ¥1ãã«122åã¾ã§æ¥è½ãã»ã»ã»ãã¨ããã¬ãã§è¨ã£ã¦ã¾ããã
ãã®ãã£ããã¨ãªãã®ãçµæ¸ææ¨ã®çºè¡¨ã¨ãªããã¨ãããã¾ãã
Â
ãããªçµæ¸ææ¨ã®çºè¡¨æéã»éè¦åº¦ãªã©ã¯å証å¸ä¼ç¤¾ãªã©ã®HPã«è¼ã£ã¦ãã¾ããã
æ¯æ¥è¦ã¦ããã®ã¯é¢åï¼ã¨ãããã¨ã§èªåã§éãã¦ãã¼ã¿ãã¼ã¹ã«ä¿ç®¡ãã¦ãããããã°ã©ã ä½ããã¨ã決æã
Â
 Â
ä¸åº¦ãã®é ãæ¬å±ã§ãããªæ¬ãçºè¦ã
Â
Rubyã«ããã¯ãã¼ã©ã¼éçºææ³ å·¡åã»è§£ææ©è½ã®å®è£ ã¨21ã®éç¨ä¾
- ä½è : ãã³ãã¡,ä½ã æ¨æé
- åºç社/ã¡ã¼ã«ã¼: SBã¯ãªã¨ã¤ãã£ã
- çºå£²æ¥: 2014/08/25
- ã¡ãã£ã¢: 大åæ¬
- ãã®ååãå«ãããã° (3件) ãè¦ã
 ã¾ãã«ããããããã¨ã1ãã10ã¾ã§ããã¨ããï¼
Rubyã¯ãã£ããã¨ãç¡ãã£ããã§ãããã©ãããRubyã¯é¢ç½ãããããã¨ãã風ã®åãå±ãã¦ãããã§èºèºãªãè³¼å ¥ã
ä½ç³»çã«åå¼·ããããã«ãRubyã®ææ¬ãè²·ã£ã¡ãã£ãã
Â
- ä½è : é«æ©å¾ç¾©,å¾è¤è£èµ,ã¾ã¤ãã¨ããã²ã
- åºç社/ã¡ã¼ã«ã¼: ã½ãããã³ã¯ã¯ãªã¨ã¤ãã£ã
- çºå£²æ¥: 2013/06/04
- ã¡ãã£ã¢: åè¡æ¬
- ãã®ååãå«ãããã° (28件) ãè¦ã
 å ã .Netãjavaã§ãªãã¸ã§ã¯ãæåãç¥ã£ã¦ããã®ã§ãããç¨åº¦ãã³ãã³ã¨é ã«å ¥ã£ã¦ããã
ä¸éãã±ãã±ãã£ã¨è¦ãã¨ããã§ãInputããOutputã¨ãããã¨ã§ããã°ã©ãã³ã°éå§ã
Â
Rubyã«ããã¯ãã¼ã©ã¼éçºææ³ããããã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦Capybaraãã¬ã³ããªã³ã°ãã©ã¤ãã¼ã»javascriptãã©ã¤ãã¼ã¨ãã¦poltergeist,PhantomJSããã§ã¤ã¹ã
ã¢ã¦ããããå ãSqliteã«ãã¾ãããsqliteã«ããã®ã¯ãé«æ©è½ãªRDBMSãå¿ è¦ã¨ããªãã£ããã¨ã¨ãMT4ãªã©ã®ä»ããã°ã©ã ã¨ã®é£æºãç¨æã ã£ããã¨ããã
MT4ããC++ã§ã©ããã¼æ¸ãã¡ããã°ãªãã§ãå¼ã¹ããã ãã©ãç´ã§å¼ã¹ããã¨ã«è¶ãããã¨ã¯ãªãããÂ
Â
Â
ãããæ©ã«ãgithubã«ãªãã¸ããªä½ã£ã¦å ¬éãã¦ã¿ã¾ããï¼
shoutatani/GetMarketInfo · GitHub
Â
 æ§æã¯ãã¡ã¤ã³ããã°ã©ã 1æ¬ã¨è¨å®ãã¡ã¤ã«1æ¬ã ãã
è¨å®ãã¡ã¤ã«ã«ãã©ãã ãã®æ¥æ°ååå¾ããããã»ã©ã®éè¦åº¦ä»¥ä¸ã®ææ¨ãåå¾ããããè¨è¿°ããã ãã§OKã
åããåã«ã¯gemãªã©ãããcapybara,poltergeist,PhantomJSãã¤ã³ã¹ãã¼ã«ãã¦ãã ããã
ãã¨ã¯ãå¼æ°ãªãã§ããã¯ãã¦ããããã°åãã£ã¬ã¯ããªã«sqlite3ã®ãã¡ã¤ã«ãã§ãã¾ããç ®ããªãç¼ããªãã
Â
Â
ä»åãcapybaraã§å ¨é¨ãã£ã¡ãã£ããã©ãã¬ã³ããªã³ã°çµãã£ã段éã§ç¬èªã«Nokogiriãªã©ã«æ¸¡ãã¦åé¢ããæ¹ãããã®ããªï¼
ä½ã¯ã¨ããããåå¼·ãã¦ããã£ã¦ã¿ã¦æ¥½ããã£ããªã¼ï¼
ä»å¹´ä¸çªèªã¿è¾¼ãã æ¬ãRubyã«ããã¯ãã¼ã©ã¼éçºææ³ã ã£ãã
rubyãç¥ããªãã£ãããæåã¯èªã¿é²ããã®ã大å¤ã ã£ããã©ãå¾ãã«ãªãã«ã¤ãã¦æ®µã ã¨èªã¿é²ããã¹ãã¼ããéããªã£ã¦ã"èªãã®ã楽ãã"ã¨æããæ¬ã«ï¼
Â
æ å ±ãéããããè ãITæ代ã®åè ã«ãªãã®ã¯ééããªããÂ
ããã°ã©ãã³ã°ãå¦ç¿ããã«ããã£ã¦ãinputã®ãã¼ã¿ãå¾ãããã®ã大ãããã
Â
2015å¹´ã¯MT4ã¨é£æºããã¦EAä½ã£ã¦ã¿ããã¨æãã¾ãã
Â
ã§ã¯ã§ã¯ï¼