Posting one of my systems: It's not an Holy Grail

Discussion in 'Automated Trading' started by TSGannGalt, May 11, 2009.

  1. I'm feeling like doing something nice to ET so I've decided to explain one of my low tier models (not in terms of performance, I mean it in terms of implementing them).

    But then...

    Just posting a C# code won't be much fun....

    Just writing a pseudocode won't be much fun either...

    So the following is a pseudocode written in Japanese:

    Code:
    
    ù’d‚Å‚·B‚¿‚å‚Á‚Æ‚µ‚½AˆÙŽšŠ„‚é‚Å‚·B
    
    •s‹µ‚ŋƐтªˆ«‰»‚·‚é‚Æ“§“I‚ÈŽè–@‚Å‘gD‚ð’÷‚߂‚¯A‹ÆÑ‚ðã‚°‚悤‚ÆŽŽ‚Ý‚éŒo‰cŽÒ‚ª‘½‚_‚È‚éBˆêŽž“I‚ɂ͋Ɛтªã‚ª‚é‚©‚à‚µ‚ê‚È‚¢B‚½‚¾A’·‚¢–Ú‚Å‚Ý‚é‚Æ‘½‚_‚̏ꍇA]‹Æˆõ‚ÌŽm‹C‚ð’ቺ‚³‚¹A‘gD‚ð”敾‚³‚¹‚邾‚¯‚ÌŒ‹‰Ê‚ɏI‚í‚éB
    @‚±‚Ì–â‘è‚ðl‚¦‚邤‚¦‚ÅŽQl‚É‚È‚é‚Ì‚ªƒ}ƒOƒŒƒK[‚́u‚w—˜_E‚x—˜_v‚Å‚_‚éB
    
    @‚w—˜_‚Ƃ́A’Pƒ‚ÉŒ¾‚¤‚Ɛ«ˆ«à‚Å‚_‚éBlŠÔ‚͐¶—ˆ‘Ó‚¯ŽÒ‚Å‚Å‚«‚邾‚¯ŽdŽ–‚ð‚µ‚½‚_‚È‚¢‚ÆŽv‚Á‚Ä‚¢‚éB]‚Á‚Ä‘å’ï‚̐lŠÔ‚Í“§‚â–½—߁A‚_‚é‚¢‚͏ˆ”±‚Å‹º‚³‚ê‚È‚¯‚ê‚Ίé‹Æ–Ú•W‚Ì’B¬‚ɏ\•ª‚È—Í‚ðo‚³‚È‚¢B‚Ü‚½A•’ʂ̐lŠÔ‚Í–½—ß‚³‚ê‚é‚Ù‚¤‚ªD‚«‚ŁAÓ”C‚ð‰ñ”ð‚µ‚½‚ª‚èAˆÀ‘S‚ð–]‚Þ‚Æ‚¢‚¤l‚¦‚Å‚_‚éB
    @‚±‚ê‚ɑ΂µ‚x—˜_‚͐«‘Pà‚Å‚_‚éBlŠÔ‚͐¶—ˆŽdŽ–‚ªŒ™‚¢‚Æ‚¢‚¤‚±‚Æ‚Í‚È‚_AðŒŽŸ‘æ‚ÅŽdŽ–‚Í–ž‘«Š´‚ÌŒ¹‚É‚à’¦”±‚É‚à‚È‚éB]‚Á‚Ä“§‚â–½—߁Aˆ”±‚¾‚¯‚ªŠé‹Æ–Ú•W‚Ì’B¬‚É—Í‚ð”_Šö‚·‚éŽè’i‚Å‚Í‚È‚_A‚â‚肪‚¢‚Ì‚_‚éŽdŽ–‚ð—^‚¦‚ê‚ΐl‚ÍŽ©‚ç“_‚_B‚Ü‚½A•’ʂ̐lŠÔ‚ÍðŒŽŸ‘æ‚ŐӔC‚ðˆø‚«Žó‚¯‚é‚΂©‚è‚©AŽ©‚çÓ”C‚ðŽæ‚낤‚Æ‚·‚é‚Æ‚¢‚¤l‚¦‚Å‚_‚éB
    
    @‚±‚̂悤‚É‚w—˜_E‚x—˜_‚ÍŠwŽÒ‚Ì—˜_‚Å‚Í‚È‚_AŽÀ–±‰Æ‚̐lŠÔŠÏ‚𕪗ނµ‚½‚à‚Ì‚¾Bƒ}ƒOƒŒƒK[‚́A‚x—˜_‚ÅŒo‰c‚ðs‚Á‚Ä‚¢‚éŒo‰cŽÒ‚Ì‚Ù‚¤‚ª‚‚¢¬‰Ê‚ð‚_‚°‚Ä‚¢‚é‚ÆŽå’£‚µ‚Ä‚¢‚éB
    @Šm‚©‚É‚»‚ê‚Í‚»‚¤‚¾‚낤BM‚¶‚Ä”C‚¹‚½‚Ù‚¤‚ªl‚Í—Í‚ð”_Šö‚·‚éBŽžXˆ«‚¢‚±‚Æ‚ð‚·‚éŽÒ‚à‚¢‚邪A‚»‚ê‚͈ꕔ‚Å‚_‚éB
    @‚Æ‚±‚낪‚x—˜_‚ðÌ—p‚µ‚È‚¢l‚½‚¿‚à‚¢‚éBŠ”Žå‚â“ŠŽ‘‰Æ‚¾BŒo‰cŽÒ‚â]‹Æˆõ‚Í•ú‚Á‚Ä‚¨‚_‚Ɖ½‚ð‚µ‚Å‚©‚·‚©‚í‚©‚ç‚È‚¢‚©‚ç“à•”“§‚𓱓ü‚µA‚µ‚Á‚©‚èŠÄŽ‹‚µ‚È‚¯‚ê‚΂¢‚¯‚È‚¢‚Æ‚¢‚¤l‚¦•û‚Í‚w—˜_‚É’Ê‚¶‚Ä‚¢‚éB
    @‚¾‚ªA‰ïŽÐ‚Ì‚·‚ׂĂȂNJĎ‹‚µ‚«‚ê‚é‚à‚Ì‚Å‚Í‚È‚¢B“à•”“§‚ÍŠé‹Æ‚Ì‘«‚©‚¹‚É‚È‚Á‚Ä‚¢‚é‚Ì‚ªŒ»ó‚¾B
    
    @‚Ü‚½AŒo‰cŽÒ‚ª’ZŠú“I‚Ȑ¬‰Ê‚ð’Ç‚¢‚©‚¯‚é‚ƁA‚w—˜_“I‚È•ûŒü‚֍s‚«‚ª‚¿‚É‚È‚éBŒµ‚µ‚¢ƒmƒ‹ƒ}‚ð‰Û‚µAÙ—Ê‚Í—^‚¦‚¸A–Ú•W‚ð’B¬‚Å‚«‚È‚©‚Á‚½‚çƒyƒiƒ‹ƒeƒB‚Å’Ç‚¢—§‚Ä‚éB‚µ‚©‚µA‚»‚ñ‚È‚â‚è•û‚ð‚µ‚½‚ç‰ïŽÐ‚ª‚¨‚©‚µ‚_‚È‚Á‚Ä‚µ‚Ü‚¤B
    @æ“úAŽl”¼ŠúŒˆŽZ‚ðŽn‚ß‚Ä‚©‚ç“ú–{‚̉ïŽÐ‚Í‚¨‚©‚µ‚_‚È‚Á‚½‚Æ‚¢‚¤ŽïŽ|‚Ì‹LŽ–‚ªƒuƒ‹[ƒ€ƒo[ƒOEƒjƒ…[ƒX‚ÉŒfÚ‚³‚ê‚Ä‚¢‚½Bƒtƒ@ƒCƒiƒ“ƒXî•ñ‚Ì”}‘Ì‚Å‚³‚¦‚»‚¤‚¢‚¤Žå’£‚ð‚·‚é‚Ì‚Å‚_‚éB’ZŠú“I‚Ȑ”Žš‚É‚Æ‚ç‚í‚ê‚Ä‚Í‚¢‚¯‚È‚¢B
    
    @ˆê•ûA’·Šú“I‚Ȑ¬‰Ê‚ð‹‚ß‚ê‚΁AŽ©‚¸‚Æ‚x—˜_‚É‚æ‚éŒo‰c‚É‚È‚éB“TŒ^“I‚ȃP[ƒX‚ª”N‚É“ú–{Œo‰c•iŽ¿Ü‚ðŽóÜ‚µ‚½ƒlƒbƒcƒgƒˆƒ^“썑‚Å‚_‚낤B
    @Ž©“®ŽÔ‚Í“ú–{‚ð‘ã•\‚·‚éŽY‹Æ‚Å‚_‚é‚É‚à‚©‚©‚í‚炸A‚»‚̔̔„“X‚̏AEl‹C‚Í”ñí‚É’á‚¢BŽ©“®ŽÔ”Ì”„‚É•t‚«‚à‚Ì‚Ì–K–â‰c‹Æ‚⌵‚µ‚¢”Ì”„ƒmƒ‹ƒ}‚ªŒh‰“‚³‚ê‚Ä‚¢‚é‚Ì‚Å‚_‚éB
    @‚»‚ñ‚È‹ÆŠE‚Ì’†‚Ńlƒbƒcƒgƒˆƒ^“썑‚ÍŠF‚ªŒ™‚ª‚é–K–â‰c‹Æ‚â”Ì”„ƒmƒ‹ƒ}‚ð”pŽ~‚·‚éˆê•ûAŠù‘¶ŒÚ‹q‚ւ̃tƒHƒ[Šˆ“®‚É’—Í‚µ‚½B‚¨”ƒ‚¢ã‚°‚¢‚½‚¾‚¢‚½‚¨‹q—l‚ð–K–₵AŽÔ‚𐴑|‚µ‚½‚胁ƒ“ƒeƒiƒ“ƒX‚ðs‚Á‚½‚è‚·‚é‚Ì‚Å‚_‚éB‚±‚ê‚Ȃ炨‹q—l‚ÉŠì‚΂êAŽÐˆõ‚Í‚â‚肪‚¢‚ðŽ‚Á‚ÄŽdŽ–‚ÉŽæ‚è‘g‚ß‚éB‚»‚ÌŒ‹‰ÊA“¯ŽÐ‚͍¡”N1ŒŽAˆêŒŽ‚Æ‚µ‚ĉߋŽÅ‚‚̔̔„‘䐔‚ðXV‚µ‚½B
    
    @‚½‚¾‚µA‚»‚ñ‚ȃlƒbƒcƒgƒˆƒ^“썑‚ÌŒo‰c‚àÅ‰‚©‚炤‚Ü‚_‚¢‚Á‚½‚킯‚Å‚Í‚È‚¢B‚x—˜_‚̃Aƒvƒ[ƒ`‚¾‚Ɛ¬‰Ê‚ªo‚é‚Ü‚Å‚ÉŽžŠÔ‚ª‚©‚©‚é‚©‚炾B
    @‚¾‚ªŒ©•û‚ð•Ï‚¦‚é‚ƁAŽžŠÔ‚ð‚©‚¯‚ê‚ΉïŽÐ‚ð—Ç‚_‚Å‚«‚é‚Æ‚¢‚¤‚±‚Æ‚Å‚à‚_‚éB‹ÆÑ‚ª’á–À‚·‚é‚Æ’ZŠú“I‚Ȑ”Žš‚ð‹‚ß‚w—˜_‚É‘–‚肽‚_‚Ȃ邪A‚»‚±‚ðh•ø‚·‚é‚Ì‚ª^‚ÌŒo‰cŽÒ‚Å‚_‚éB
    @‚x—˜_‚ÉŠî‚¢‚½Œo‰c‚ðs‚¦‚΁AŽÐˆõ‚̃~ƒX‚ào‚Ä‚_‚邾‚낤‚µA‚·‚®‚uŽš‰ñ•œ‚Æ‚¢‚¤‚±‚Æ‚É‚Í‚È‚ç‚È‚¢B‚¾‚ªA‚»‚ê‚ð³’m‚Å10”NæA20”Næ‚É‚Í•K‚¸—Ç‚_‚È‚é‚Æ‚¢‚¤’·Šú“IŽ‹–ì‚ÅŽæ‚è‘g‚Þ‚±‚Æ‚ª‘åØ‚¾B
    @‚»‚¤‚·‚ê‚ΎЈõ‚àu‚±‚±‚Í—Ç‚¢‰ïŽÐv‚ÆŠ´‚¶‚ÄŒœ–½‚É“_‚¢‚Ä‚_‚ê‚邾‚낤B
    
    
    わかるかな?
     
  2. Could you post this in a forum that supports unicode so I can read the Kanji? Thanks.
     
  3. I can read it without problems.
     
  4. Wikipedia shows the Japanese correctly, but ET doesn't.

    What do I have to install to read it?
     
  5. auspiv

    auspiv

    firefox -> view -> character encoding -> more -> east asian -> japanese(Shift_JIS)

    ...i think. i'm not sure what it is supposed to say.
     
  6. ƒIƒ“ƒ‰ƒCƒ“‚Ì’Ê–óƒT[ƒrƒX‚É‚Ô‚Á‚±‚ñ‚Å‚àˆÓ–¡–³‚¢‚Ł```

    •’Ê‚É“ú–{Œê‚É‚á[A’u‚©‚È‚¢‚ׁEEEE‚é–@‘¥‚ŁA•¶Žš—ñ‚ª‚©‚©‚ê‚Ä‚Ü‚·B

    ‚·‚Á‚«‚èA‚·‚Á‚«‚èIII‚à‚â‚Á‚ƁA‚à‚â‚Á‚ƁA‚È–@‘¥‚Å‚·B

    ‚ª‚ñ‚΂Á‚āAƒpƒYƒ‹‚ð‰ð‚¢‚ĂˁIII
     
  7. heheheheh I love it :p
     
  8. Google's translation of your "pseudocode":


    Is the tablet platform. A little,異字break.

    締METSUKE in the organization and control approach results in a worsening recession, many managers attempt to bolster earnings. Temporarily
    Performance may be higher. However, in many cases with a longer-term, the lower the morale of employees, the organization is exhausted
    The only result.
    McGregor will be of help in considering this issue "X Theory Y Theory" indeed.

    X and theory, and say they simply性悪説. I believe that no human has worked as a lazy by nature. Subordinate
    For most people it is ordered and controlled, or not sufficient power to achieve the corporate objectives to be threatened with punishment. The Bo
    Common people prefer to be in order, weeding avoid responsibility, they want a safe idea.
    The theory is the Y性善説. Man is born to hate the job, working conditions, depending on the source of satisfaction
    It's punishment. Therefore, control and instruction in agricultural power揮means to the attainment of corporate goals is the only punishment, challenging ride
    Give people a job is its own point. Also, normal people take on the responsibility not only on conditions, to take responsibility
    'm Thinking of.

    This theory Y Theory X is the academic theory, it was classified a human view of practitioners. McGregor is, Y theory
    Argue that the results are higher than those in arts management has been in business.
    It certainly will not. People believe is better left to揮agricultural power. Some people sometimes do bad things, it is a
    Those parts.
    Y But some people do not adopt the theory. That shareholders and investors. Do managers and employees do not leave us with?
    I do not know from the introduction of internal control, the idea that should be tightly monitored through the X-theory.
    However, the sharp and monitor all of the company. Internal control is still a drag on business.

    The chase and the short-term results by management, X will tend toward the theoretical bound. Imposes a strict quota, discretionary
    Is giving, DEKINAKATTARA penalty goals in the chase. But how sweet is that when one company
    Become.
    Recently, results from the first quarter, # 123; company of Bloomberg News article saying that was the norm
    Were posted. Even those who claim to be a medium of information in finance. Yes, been preoccupied with short-term figures
    Uninvited.

    On the other hand, have asked a long-term result, Y will be run by the theory itself. Days in a typical case # 123; received a Quality Award
    Tropical NETTSUTOYOTA that they will award.
    Car is # 123; even though they represent the industry, a popular dealer of the employment is very low. With auto sales
    He is shunned by strict sales quotas and sales visits.
    Tropical NETTSUTOYOTA in the industry is that while business visitors and sales quota abolished hate everyone to the Forum's existing customers
    I was focused on the activities. PURCHASE your visit, so do the maintenance or cleaning the car
    . If you are happy, employees have a challenging job取RI組MERU. As a result, the company in January and updated in January AutoSearchNEW record sales.

    However, it went from the horse's first run of the tropics is not NETTSUTOYOTA. Y results and theoretical approaches
    It takes some time to come.
    In another perspective, however, that DEMORU be good if the company KAKERE time. Numbers of poor performance and short-term
    X走RITA to be the theory, he is the true owner to be patient there.
    Y be made based on management theory, and that they will miss the employees, soon to be V-shaped recovery that is not. I
    , With the knowledge that 10 years, 20 years is important to take the long view that good.
    Employees so that "this is a good company" would be hard to feel点I.
     
  9. ‚¾‚©‚çAƒgƒ‰ƒ“ƒYƒŒ[ƒ^‚É“ü‚ê‚Ä‚ào‚È‚¢‚Á‚āEEE
    ‚Ý‚ñ‚ÈIQƒTƒvƒŠ‚ðŒ©‚Ä‚Ü‚µ‚½H
     
  10. うっそぴょーん

    しすてむなんてないだぴょーん

    おもろかっとね。

    すうじかんでけっこうひとがみにきた・・・

    おそまつです
     
    #10     May 11, 2009