ラベル

AI Forecast 8306MUFG (349) Social (79) life (75) Financial (70) IT (62) Proposal (57) AI (52) Fund Management (52) idea (51) economics (44) Trading (43) Covid-19 (40) Hedge Fund (37) Risk (36) Culture (31) BOJ (29) Science (29) hobby (27) accounting (17) Apps (16) Travel (14) career (11) job (7) Hiking (5) emotion (5) music (3) Statarb (2) piano (2)

2019年10月5日土曜日

ブログスポットの中でのMobileNet利用 Using MobileNet inside BlogSpot

ブログスポットの中でのMobileNet利用
Using MobileNet inside BlogSpot



Googleが運営する無料ブログサービスであるブログスポット(このサイト)に、カメラに映った映像を分類するMobileNetという実験プログラムを組み込んでみた。既に学習済みのネットを利用するだけで、学習は行わない。映し出された窓にはカメラの映像が、その下に画像判定結果とその可能性(0から1の範囲)が示される。ライオンやシマウマなど簡単なもので試してください。動作しない場合、ハードウエアアクセラレーションをOFFにしてみてください。計算負荷が大きいため処理が遅くなります。実行したくない人はカメラアクセス要求を拒否してください。

Installed MobileNet on this site, blogspot, i.e., Google's free blog service. This only classifies object based on pre-educated neural net but no new learning is done.  Under the camera video shown, object name and possibilities(0-1) are shown.  Pls try out for simple objects such as lion or zebra.  If does not work, pls try turning off hardware acceleration. Due to heavy computation, reactions will be slow. Pls deny camera access request if you do not wish to run. 

なお、BlogSpotの記事の場所に結果を表示するには、下のようにparentメソッドを利用します。ソース全体(GitHub)はこちら。 To display the result on blog body, use parent method as below. Complete Source is here(GitHub).

body
  div id='myContainer'/div
body

                 --- Skipped so pls see GitHub for complete source --

script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.8.0/p5.min.js" /script>

  function setup() {
    // Create a camera input
    video = createCapture(VIDEO);
    video.parent('myContainer')
    video.size(200,300)
    // Initialize the Image Classifier method with MobileNet and the video as the second argument
    classifier = ml5.imageClassifier('MobileNet', video, modelReady);
    resultsP = createP('Loading model and video...');
    resultsP.parent('myContainer')
  }

                --- Skipped so pls see GitHub for complete source --

  // When we get a result
  function gotResult(err, results) {
    // The results are in an array ordered by confidence.
    resultsP.html(results[0].label + ' ' + nf(results[0].confidence, 0, 2));
    resultsP.parent('myContainer')
    classifyVideo();
  }
 /script
..Code shown from simple Cut and Pasted from Visual Studio Code
(pls delete, "white-space: pre;" after cut and paste. also pls correct for bracket for script and body since brackets are deleted to make output looks nicer :)

2019年9月24日火曜日

5分で分かる為替先物  5min Understanding of FX Future

5分で分かる為替先物

5min Understanding of FX Future


ドル円の為替レートが未来に向かって円高になる(ドルの金利>円の金利の場合)ことを説明するのに、次のように説明すると分かってもらえることが多い。I generally got good feedback from people, when I explained people as below why future FX rate on JPY against USD appreciates although JPY interest rate is lower than USD interest rate mostly.

  1. ある日100円を持っている人と、1ドルを持っている人が出会い、円とドルを交換した(これで、ドル円為替レートは100円となった)。お互い、お金は1年定期で預金した。One day, a person with 100JPY and 1USD met and exchanged them(then JPYUSD FX rate become 100JPY/USD ). Both side made 1yr term deposit the proceeds. 
  2. 円とドルを交換したのと同時に、二人は1年後に交換したドル円を再び、定期預金の金利分もそっくりそのまま交換する約束をした。Same time as exchange, both promised to exchange whole back again including the interest earned. 
  3. 円の市場金利は、0.1%、ドルの市場金利は2%だったとすると、1年後、100円は100.1円に、ドルは1.02ドルに増える。Assuming JPY 1yr market interest rate is 0.1% while USD 1yr market interest rate is 2%, after 1yr, JPY100 becomes 100.1JPY and USD becomes 1.02USD. 
  4. 結果、1年後に二人は100.1円を1.02ドルと交換することになる。これは1年後決済のドル円為替レートが100.1/1.02=98.14となっていることを表している。As a result, after 1yr, they exchange 100.1JPY by 1.02USD. This means that JPYUSD settlement FX rate after 1yr became 100.1/1.02=98.14. 
式で説明すると、Using equation,
\begin{align} Current FX Rate(CFXR)  &:  100(JPY/USD)為替現在値  \\r_{JPY}   &:  JPY's1yr Interest Rate(円1年金利)  \\ r_{USD}  &:  USD's1yr Interest Rate(ドル1年金利) \end{align}
とすると、現時点で値付けされる、1年後に決済する場合の為替レートは、If we assume above, then, the current FX 1yr forward settlement rate priced as of now will be,
\begin{align}  Future FX Rate &= \frac{100JPY's1Yr future Value(100円の1年後の価値)}{1USD's1Yr future Value(1ドルの1年後の価値)} \\ &= \frac{100 \times ( 1 + r_{JPY} )}{1 \times ( 1 + r_{USD} )}  \end{align}
となる。

一般化して、現時点で値付けされる、T年後に決済する場合の為替レートは、Generalizing, current future settled FX rate after T years will be,

\begin{align} rT_{JPY}   &:  JPY'sTyr Interest Rate(円T年金利)  \\ rT_{USD}  &:  USD'sTyr Interest Rate(ドルT年金利) \end{align}
\begin{align}  Future FX Rate &= \frac{CFXRJPY'sTYr future Value(CFXR円のT年後の価値)}{1USD'sTYr future Value(1ドルのT年後の価値)} \\ &= \frac{CFXR \times ( 1 + rT_{JPY} )^T}{1 \times ( 1 + rT_{USD} )^T}  \\ &= CFXR\times e^{(rT_{JPY}-rT_{USD})}    \end{align}
となる。

CurrentJPYUSDRateドル円現在レート(Ex.100)
(%)JPY1YrInterestRate(%)円1年金利(Ex.0.1)
(%)USD1YrInterestRate(%)ドル1年金利(Ex.2)
YearToMaturity満期までの年数(Ex.1)

 USDJPYFutureFXRate(%)ドル円先日レート(%)


2019年9月15日日曜日

Win10 最強のエディター Best Editor on Win10

Win10 最強のエディター

Best Editor on Win10





Windows 10でプログラミングをする際に、使いやすい無料エディターを探していて、今日、見つかった。Visual Studio Codeだ。まだ、JavaScriptにしか使っていないけれど、軽くて、Indentation、ハイライトも充実。そして無料。使わない手はない!


Looking for free handy editor for programming on Windows 10 and found Visual Studio Code today. So far, used only for JavaScript but it is light with indentation and highlights. And Free. Why not using it!


2019年9月14日土曜日

地球CTプロジェクト Earth CT Project

地球CTプロジェクト

English Follows


  ニュートリノが原子を通り抜け、私たちの体の中をニュートリノの風が吹いていることは既に分かっている。ニュートリノから見ると、地球上のすべての物体は隙間だらけだ。今、加速器を地上に作っている段階だが、地球周回軌道上に発信機、受信機を建設することで、地球全体をCTすることが可能となる。地球はついに丸裸になる。

  実現すると、たとえば、次のようなことが可能となる。
  • 地球の全資源の所在が明らかになる。
  • プレートの動きのリアルタイムの観察により、噴火、地震予知が可能になる。
人類にとって膨大なメリットがあるため、国際プロジェクトとして是非取り上げて欲しいものだ。知的生命体人類としては、自分の住んでいる星についてぐらい知っていてあたりまえだろう。考えてみると、人類は現在、地表近くを行ったり来たりしているだけなのだ。



Earth CT Project


We know that neutrinos go through atom, hence, in a sense, "neutrinos wind" is blowing through our body. From neutrinos, all substance on earth are sparse with voids everywhere. Now accelerators are build on earth, but if we build emitter and receiver on earth orbit, we can perform CT on earth.  Earth will be naked finally then. 

If realized, followings will be possible for example. 
  • All earth resources will be revealed.
  • Volcano eruption and earthquake prediction will be possible through real time observation of plate movement.

Due to its tremendous advantage to human being, I wish this will be taken up as an international project.  As an intelligent creature on earth, homo sapience, we are responsible to know where we live at least.  In another look, currently, human being is just going back and forth near surface on earth. 




2019年9月11日水曜日

銀行の収益源 Income Source of Bank   

銀行の収益源

English Follows



銀行って何をしているんだろう? 

普通の人にとって、銀行はキャッシュカードでしかない。

分かっているようで分かっていない、収益構造はこうだ。

長短ギャッピング : 金利の安い短期で資金を借りて、金利の高い長期で貸し出すことで、長期金利ー短期金利の差分を得る。長期金利>短期金利であることが必要。金利差が縮小すると利益が減り、逆転すると損失となる。
(例)100億円を10年間、年率3%で貸し出す。貸出資金は1か月ごとに変動金利(例えば年率1%)で借り続ける。年間2億円(金利差2%)が収益となる。

信用リスク取り: 倒産リスクがある主体に信用リスクを上乗せした金利で貸し出す。上乗せ金利分が収益となる。リスクは貸出先の倒産である。
(例)A社に100億円を10年間、年率5%で貸し出す。倒産リスクがない場合の金利は3%である。

預金:金利の安い預金で調達した資金で、金利の高い定期貸出を行い、金利の差額を収益とする。
(例)100億円を当座預金(金利ゼロ)または普通預金(金利年率0.1%)で調達し、10年間、年率3%で貸し出す。金利差分3%(年間3億円)が収益となる。リスクは預金顧客の減少である。

その他サービス手数料:送金、為替など認可制業務の仲介で手数料を得る。M&Aの手数料を得る。貿易金融サービスで手数料を得る。

自己売買:自ら株債権を売買して利益を得る。

Income Source of Bank




What banks do to make money?

For normal people, banks are no more than cash cards.

Bank's income sources, not really clear for everybody, are,

Long Short gapping : Borrow show term low interest rate money to lend higher interest rate long term.  Long term - Short term interest rate difference becomes income for banks.  It is important to keep long term interest rate > short term interest rate. If difference shrinks, income shrinks, and if relationship flips to reverse side, banks will start losing money.
(Example) Borrow $100mn for every 1 month rolling on floating rate(0.1% PA(per annual) for example) to lend 10 yrs for $100mn at 3% PA. This result in $2mn(2% difference) PA.

Credit Risk Taking : Lend money to borrower with default risk at credit risk premium interest rate. Premium interest rate becomes earning.  Risk is the default of the borrower.
(Example) Lend $100mn to corp A for 10yrs at 5% PA. The interest rate when there is no default risk is 3%.

Deposits : Borrow money from lower interest rate deposit and lend to higher interest rate term deposit to make money out of interest rate difference.
(Example) Procure $100mn out of cash account(zero interest rate) or saving account(0.1%PA) to lend 10yrs at 3% PA. This generates interest rate difference income for 3%($3mn PA). Risk is the reduction of customer deposit base.

Other service fee: Money transfer, foreign exchange fee, basically inter mediation of regulated transactions. M&A fee. Income from export business support.

Proprietary trading : Make money by trading securities on bank's own account.

2019年8月29日木曜日

銀行の為替リスク FX Risk for a Bank

銀行の為替リスク

English Follows


為替レートが大きく動いた時、外貨の取り扱いが多い銀行は不安だろう。

でも、つぎの3つを知っておくと、不安はなくなる。

(1)バランスシート全体を見よう
(2)名前に惑わされない
(3)外貨調達方法による違いを知る

(1)バランスシート全体を見よう
一つ目の大きな不安要因は、為替リスクの影響について、貸借対照表の一つ一つの項目について話しているのか、それとも、ある取引のバランスシート全体への影響について話しているのか明確でないことだろう。

たとえば、外貨の借入の場合。外貨を借り入れると、資産に外貨、負債に借入が立つ。

外貨 1,000ドル / 借入 1,000ドル

この場合、外貨1,000ドルには為替リスクはもちろんある。借入1,000ドルにも為替リスクがある。

でも、この二つのリスクは為替レート変動時に打ち消しあい、バランスシート全体ではリスクはなくなる。結果、外貨借り入れ自体には為替リスクはないのである。

(2)名前に惑わされない
  為替スワップ、通貨スワップは、その名前からあたかも為替リスクがあるように聞こえる。しかし、実態は異なる通貨の定期貸出と、定期借入の組み合わせに過ぎず、為替リスクはない。為替スワップ、通貨スワップは、為替リスクを回避しつつ、外貨を調達する方法だ。

  [開始日]
  現金 100ドル / 借入 100ドル
  貸出 1万円   / 現金 1万円
  [満期日]
  借入 100ドル / 現金 100ドル
  現金 1万円   / 貸出 1万円

(3)外貨調達方法による違いを知る
  3つ目の混乱の原因は、外貨建て資産を購入する資金の調達方法による違いだろう。外貨建て資産をすでに保有している外貨で購入する場合、為替スワップで外貨を調達する場合、為替リスクは発生しない。しかし、為替スポットで外貨を調達して外貨建て資産を購入すると、為替スポットにより、為替リスクを伴うことになる。

  外貨で購入した場合、為替リスクとはならない。
  債権 100ドル / 現金 100ドル
  株式 100ドル / 現金 100ドル

  円を為替スポットでドル変換した外貨で購入した場合、為替リスクとなる。
  現金 100ドル / 現金 1万円
  株式 100ドル / 現金 100ドル

  円を為替スワップでドル変換した外貨で購入した場合、為替リスクはない。
  [為替スワップ開始日]
  現金 100ドル / 借入 100ドル
  貸出 1万円   / 現金 1万円
  株式 100ドル / 現金 100ドル
  [為替スワップ満期日] 
  借入 100ドル / 現金 100ドル
  現金 1万円   / 貸出 1万円
   --> 株式を売却するまで、ロールオーバーし続ける
  貸出 1万円   / 現金 1万円
  株式 100ドル / 現金 100ドル

FX Risk for a Bank


When FX rate moves significant, Bank with lots of FX business may worry it‘s impact.

However, below 3 points may help to get away from such concerns.

(1) Look impact on balance sheet as a whole
(2) Don‘t be confused by naming
(3) Way to fund foreign currency makes difference
....

(1) Look impact on balance sheet as a whole
The biggest worry stems from the ambiguity of question itself whether we are talking about impact on each items on balance sheet or impact on balance sheet as a whole.

Let's take borrowing of foreign currencies as an example. When we borrow foreign currency, we see foreign currency in asset while borrowing in liability.

Foreign currency  $1K / Borrowing $1K

Here in this case above, foreign currency $1K has FX risk while, borrowing $1K also has FX risk.

However, two risks will offset each other when FX rate fluctuates, making no risk as a balance sheet as a whole. In nutshell, there is no FX risk from foreign currency borrowing itself.

(2) Don‘t be confused by naming
  Both FX swap and currency swap sound like as if they carry FX risk from naming. However, both products are nothing but a combination of term borrowing and term lending, hence there are no FX risk involved. FX swap and currency swap are way to procure foreign currency funding avoiding incurring FX risks.

  [Start Date]
       Cash $100         / Borrowing $100
     Lending JPY10K / Cash JPY10K
  [Maturity Date]
     Borrowing $100  / Cash $100
     Cash JPY10K      / Lending JPY10K

(3) Way to fund foreign currency makes difference
  The 3rd reason for the confusion is the difference between the ways of procurement of foreign currencies to purchase foreign currency denominated asset.  If funding for asset purchase is done through own foreign currency or FX swap, then there will be no FX risk. However, if we purchase foreign currency denominated asset by way of FX spot, then FX spot will incur FX risk.

  No FX risk if bought by own foreign currency cash
  Bond $100 / Cash $100
  Stock $100 / Cash $100

  FX risk emerge if bought by foreign currency procured through FX spot
  Cash $100 / Cash JPY10K
  Stock $100 / Cash $100

  There is no FX risk if foreign asset is bought by foreign currency fund procured through FX swap.
  [Start of FX Swap]
    Cash $100         / Borrowing $100
    Lending JPY10K / Cash JPY10K
    Stock $100        / Cash $100
  [Maturity of FX Swap] 
    Borrowing $100 /  Cash $100
    Cash JPY10K      / Lending JPY10K
                 --> Keep rolling over until sale of stock
    Cash $100         / Borrowing $100
    Lending JPY10K / Cash JPY10K
 

2019年8月20日火曜日

子供を野菜好きにする魔法の場所 Magic Place to Convert Kids to Vegetable Lovers

子供を野菜好きにする魔法の場所 

Magic Place to Convert Kids to Vegetable Lovers


野菜や果物がその場で食べられる、石田観光農園に行ってきた。こどもは大はしゃぎ。 Went up to Ishida farm harvest tour where you can harvest & eat vegetables and fruits on spot. Kids were all excited.  

そこは、野菜が大嫌いな子供も野菜好きにする食育の魔法の場所だった。That was a magic food-education-place for kids who hate vegetables, to convert to vegetable lovers.

野菜嫌いの子供にお勧め。人生変わるかも。Very much recommended for kids who hate vegetables. It can change their life. 














2019年8月11日日曜日

Google Photoの基本...DB-キー情報 Google Photo Basics... DB-Key information

Google Photoの基本...DB-キー情報 
Google Photo Basics... DB-Key information




デジカメの日付設定をし忘れ撮影したたため、写真ファイルの諸日付がすべて間違ってしまい、訂正した。Corrected photo file dates to adjust for wrongly set digital camera dates.

Google Photoは動画(MOV)については、メディアの作成日時、写真(JPEG)については撮影日時をDB(データベース)の時間軸キー情報として採用しているようだ。ファイルの作成日時、更新日時は利用されていないようだ。Google photo uses media creation date for movie(MOV) and shot date for pictures(JPEG) as time axis key info for DB(data base). File creation date nor update date look not used as key. 

一括変更には、写真(JPEG)については、作成日時、更新日時訂正で自動的に変わった。しかし、動画(MOV)についてはプロパティーの詳細にあるメディアの作成日時を一つづつ変えないと訂正できなかった。For collective changes, pictures(JPEG) are adjusted by creation date change as well as by revision date change. Meanwhile, movies(MOV) can be changed only by revising media creation date in property detail one by one.

作成日時(JPEG,MOV)一括変更 Collective change for creation date (JPEG, MOV)
Set-ItemProperty *.* -Name CreationTime -Value "YYYY/MM/DD hh:mm:ss"

更新日時(JPEG,MOV)一括変更 Collective change on revision date(JPEG,MOV)
Set-ItemProperty *.* -Name LastWriteTime -Value "YYYY/MM/DD hh:mm:ss"

メディアの作成日時(MOV)Media creation date(MOV)
GUIの詳細で一つづつ修正 Change one by one by GUI detail.

撮影日時(JPEG)Shot date(JPEG)
作成日時を修正すると同時に変わるようだ。一つづつGUIでも変更可能。Looks revised when creation date is changed. Can be changed one by one by GUI also. 

なお、Google Photoについては、保存枚数が1万枚を超える場合、普通のデジカメでは4桁のファイル番号しかないため、必然的にファイル名重複が起こる。が、現在のGoogle Photoでは、同じファイル名称でも撮影日時、メディア作成日時が異なれば異なる写真と認識するようになっているようだ。Google photo will inevitably face duplication of file names if number of files exceeds 10K since most of digital cameras have only 4 digits for file names. However Google photo will have no issue currently since it takes two photo files with same file name as different if shot date or media creation date are different. 

2019年8月6日火曜日

小学校3年生の原爆 A-bomb education to 3rd grader elementary school kid

小学校3年生の原爆 

- English Follows -


8月6日、原爆投下の日、小学校3年生の子供に原爆を説明した。

まず、原爆のアニメを見せ、

原水爆の威力のビデオを見せ、

人類が何度も全滅する量の核兵器備蓄を説明するうち、

真ん丸な目をして話を聞く、何も知らない子供に、

そもそも、何で未だに世界はこんなにひどい状態であるということを説明しなくちゃいけないんだ思い、

子供に責任のある大人として、とても情けなく、恥ずかしく、泣きたくなった。

A-bomb education to 3rd grader elementary school kid


On Aug 6th, A-bomb day, I explained 3rd grader kid what A-bomb is.

1st thing, showed animation on A-bomb,

Then showed the power of A-bomb, H-bomb,

And current global stockpiling of A-bomb that can make human-being to go extinct several times, etc. ...

As I explained to my kid with wide opened innocent round eyes wishing to know what that is,

I felt, why the hell we have to explain kids that current world is still in such a terrible situation.

As an adult responsible for kids, I felt very sad, ashamed and crying.

2019年7月30日火曜日

人類生き残り作戦..2019OKを見て Survival Mankind, seeing 2019OK

 人類生き残り作戦..2019OKを見て

English Follows



100m級隕石2019OKは、先週木曜日2019/7/25、地球と月との1/5弱の距離を秒速24kmでニアミスした。バリンジャー隕石の(写真)の倍の大きさだ。

発見は、通過するほんの数時間前だった。

もう、そろそろ、人間は、世界レベルの目標を設定してはどうだろう?

人はもう、いろいろなことを知っている。

宇宙誕生から140億年、太陽系・地球誕生から50億年。

生命誕生から40億年、そして人間の歴史は100万年。

アンドロメダ星雲と銀河系の衝突まで40億年。

これから地球に住めるのはあと20億年、

そして、1億年に一回の、隕石、地殻異変による大量絶滅。


遺伝子に組み込まれた本能は、いままで地球上で争いももたらして来た。

だが、その本能を人類の絶滅回避に転化しよう。 

地球の上での無駄な戦いに時間を浪費するのはやめよう。

だれかが言うだろう。「億年単位なんて、バカみたい」。 確かに時間軸スケールが違う。

でも、人間は、自分の世代近辺だけにしか目が向かない段階から進化している。


では、以下、世界目標の提案、これはずばり、

「人類生き残り作戦」 

「敵」は人類を絶滅させる、隕石、天変地異であり、これに全人類で立ち向かう。

共通の敵に立ち向かうことで、人類の共通の目的が共有され、争いはなくなる。

人類に対する大きな敵の前で、地球上の内輪もめで時間を浪費する人はいないだろう。


以上

Survival Mankind, seeing 2019OK 


100m-size meteor 2019OK passed 1/5 earth-moon distance, last Thursday Jul 25th, 2019. It was found only few hours before it passed earth. It is double the size of meteor that created Barringer Crater (picture above).

Now it is time to for mankind to have global objective,

We already know lots of things.

14 billion year since the birth of cosmos, 5 billion year since the birth of solar system and the earth.

4 billion year since the birth of lives.

4 billion year by the collision of milky way and Andromeda galaxy.

2 billion year until earth stop to be habitable.

And mass extinction for every 100 million year by meteor collision and plate tectonic abnormalities.

Basic instinct embedded in our gene brought war on earth.

But now it’s time to flip that instinct into the prevention of mass extinction of mankind.

Stop wasting time on useless war on earth.

Somebody may say, such a fool to think of 100 million years. True that time scale is off the common sense.

However, mankind is now evolved enough to think in longer term not just current generation.

Below, see proposals for world objective.

Survival Mankind

Enemy is meteor collision or natural disasters and we face these as team mankind.

Sharing the same enemy, can share objective as mankind, then war will end.

No one will dare waste time on domestic conflict confronted by huge enemy against mankind.


That`s all.

2019年7月23日火曜日

リブラへの究極の提案 Ultimate Proposal to LIBRA

リブラへの究極の提案

English follows

すばらしい利点を持つリブラだが、マネロン、通貨主権の点で、中央銀行との膠着状態となっている。

この構図は一見すると私企業を国家群が苛めているように見えるが、これらのポイントはもし外すと結果的に皆に災いをもたらすため、正しくは、国家群が皆の代理人としてリブラの足りない点を埋めようとしていると見るべきだ。

ここに膠着状態を解決する、シンプルで、すばらしい提案がある。

1)各国通貨主権の維持

リブラ運営体をG20中央銀行総裁会議直属の国際機関とし、通貨バスケットに裏付けられた通貨発行のみ行う。これにより、各国の通貨発行権限は各国に帰属する現状が維持される。通貨バスケットの運用損益は、G20中央銀行に帰属させ、リブラ運営体はシステムのサービサーとして、サービスフィーを受け取る。

2)マネロン懸念払拭

G20参加国は、リブラを国際共通通貨と定め、各国、国民一人一人に割り当てられた国民番号(Social Security Number, My Numberなど)ごとに個人アカウントを設定する。リブラ運営体は、すべてのリブラ取引詳細を各国政府にリアルタイムで通知する体制とする。これでマネロン対策が可能となる。

3)金融政策の有効性維持

リブラ建ての金利契約は国際法で無効とする。これにより、リブラの金利期間構造は消滅し、各国の金利金融政策は温存される。

G20以外の国についても、Libraを利用する場合は、G20が設置する基準に合意することでその利用が可能となる。

リブラをPrivateからPublicに戻すこの提案は、一見すると民営化の流れに逆行しているように見える。しかし、はるか先にLibraが独り歩きを始めることを想定すると、公共財である通貨は初めから公共財として明確に定義する必要がある。

Ultimate Proposal to LIBRA

English follows

Libra has fantastic features to be utilized however, discussion with central banks looks going nowhere regarding money laundering and currency sovereignty.

 At the first glance, it looks as if governments are torturing one private firm however, these points, if missed, can invite calamity to everyone. Hence the correct way of seeing current disputes is that nations, on behalf of all people, are trying to fulfill missing points of Libra. 

Here is simple & wonderful proposals to get out of current dead-lock situation.

1) Currency Sovereignty perspective

Define Libra operation body as an international servicing organization governed by G20 Central Bank Governor Meeting and adhere issuance up to underlying currency baskets. This leaves currency sovereignty to belong to each countries as it is.  The profit/loss of currency basket maintenance is owned by G20 central banks while Libra operation body will receive service fee as Libra operation servicer.

2) Money Laundering perspective

G20 countries define Libra as an international cash currency for which individual accounts are setup in sync to social securities numbers('My Number' for Japan). Libra operation body automatically send out all transaction details to each government. This setup should serve as effective anti money laundering measures.

3) Monetary Policy perspective

Make Libra interest bearing contract as illegal/invalid as per international law.  This makes term structure of Libra to go disappear, leaving monetary policy effective for each countries as it is now.  If users wish to earn interest rate, users need to convert Libra to other currencies that have interest earnings.

Countries outside G20 can use Libra once the country agrees on the terms and condition set by G20 Central Bank Governor Meeting.

This proposal to make Libra from private to public may look going backward, from small government & privatization trend perspective at the 1st glance. However, if we think of Libra to go independent in the far future, we should better define it as 'public asset' from inception since currency SHOULD BE 'public asset' after all. 

2019年7月20日土曜日

日本株2019年7月 Japan Stock July 2019

日本株2019年7月

English follows



オイルショック以降、2019年7月までの半世紀の日本株の推移を大雑把に振り返った。ジャパンアズNo.1から、崖っぷちの現在まで、チャートには過去のすべてが織り込まれていて、振り返ると感慨深い。

超長期トレンド
  •  日本株時価の現状の総額概算は400兆円、アメリカは30年で5倍の3,000兆円
  •  世界最大の債権国になり、貿易収支減少分は所得収支でカバーされている
  •  少子化で日本の内需はダウンサイジング傾向
  •  日本株は主要参加者である外国人の投資行動により方向性が決される

現状
  •  アベノミクスによる円安誘導で救われた輸出企業の増益増配銘柄が増加
  •  PER, PBRが大幅に改善
  •  マイナス金利政策と配当利回増大でイールドスプレッドは拡大し株価を維持
  •    チャート上は、バブル以降の下降レンジからは脱却している

不安要因
  •  円高に大きく振れた場合、景気後退が加速するか
  •  中国の停滞と米中貿易摩擦による世界的な減速感
  •  米国株は更なる利下げでバブル拡大
  •  中国減速により電子部品供給銘柄は受注激減。
  •  チャート的には3段上げを終了し、いつ大きな調整が来てもおかしくない

2019年末までの可能性
 トランプに協力する米中銀がQE清算を先延ばしにして利下げに走っている。すでに高値の米国株がさらに高値になる可能性があり、その場合は、日本株も追従するかもしれない。ただ中国の急激な減速がさらに続くと、日本株の下値を支えているバリュエーションが毀損され、日経平均は再度1万5千円台となる可能性もあるが、そうなったらそのレベルは買いだろう。
 

Japan Stock July 2019




Roughly did an overview on Japan stock transition half century from oil shock up to 2019 Jul.  Impressive to see that all the history are reflected to the stock chart, from "Japan as number one" period to current Japan on the edge. 

Long term Trend
  •  Current Japanese stock market cap is roughly jpy400tr while US has jpy3,000tr, times 5 increase in 30 yrs. 
  •  Japan became the world largest creditor while reduction of trade balance is well offset by the increase of income from oversea investment.
  •  Domestic consumption is on down-trend due to down-sizing of population.
  •  Japanese stock market nowadays is led by foreign investors as major market participants.  

Current
  •  Increased number of companies with increased profit and dividends thanks to cheaper yen led by Abenomics.
  •  PBR and PER valuations improved a lot as a result.
  •  Expanded yield spread is supporting price as a result of negative interest rate policy as well as increasing dividends.
  •    From stock chart, it looks like Japan had already exit from down trend range after bubble burst.

Uncertainties
  •  Economy may go sluggish if yen swing down to significant appreciation.
  •  Global slow-down of economy due to China and its trade friction with US. 
  •  Further expansion of bubble of US stock due to rate cut. 
  •  Electric parts providers are expecting significant sales drop due to slow down of China. 
  •    Chart just completed 3 steps up and now looks ready to have major correction anytime. 
Possibilities until end of 2019
  US central bank is heading towards rate cut to cooperate Trump administration although they actually wanted to start QE(Quantitative Easing) exit as soon as possible.  This may make US stock further higher, then Japan stock may follow the same. However China's rapid slow-down may undermine the valuation of Japanese stock that supports current price level. If that happens, Nikkei may head down to 15K level however, that will be the time to buy.

2019年7月12日金曜日

リブラ「銀行」の利害関係 Libra "Bank" `s Stakeholders

リブラ「銀行」の利害関係 

English Follows


リブラというFacebookが主導する仮想通貨の計画が発表された。

リブラは、通貨バスケットに裏付けられたETFもしくはプリペイドカードのような仮想通貨とされ、価値の貯蔵、交換、尺度の道具としての機能を備え、実現できれば利用者への利便性は計り知れない。

ただ、リブラは、FinTechの時代に本来ならグローバルに中央銀行のグループが率先して行っているべき課題を、民間企業が先行している側面があり、マネロン対策、税捕捉、通貨の主権問題など、解決しなければいけない問題が山積している。

規制当局からは、リブラは仮想通貨でなく、リブラ「銀行」とみるのが正しい。リブラ発行体のバランスシートは、資産が通貨バスケット、負債が各ホルダーの発行の残高であり、これは、まさに銀行のバランスシートだ。

「銀行」であれば、利用される各国の金融規制をクリアする必要が出てくるという論理だ。

BitCoinは、規制を強制する運営者を特定できないが、リブラは上場企業が行う事業なので金融規制当局も許認可する対象が明確だ。

ここではリブラを巡る利害関係を考えてみる。

リブラ発行体の視点から
  • 利点
    • 信託財産の運用により得た金利収益はリブラ保有者に再分配しないため、発行体の収益となる。
    • 市場価格が裏付け資産価格より安い場合、リブラを買って償却し、裏付け資産を売る裁定取引を行うことで、発行体の収益となると同時に価格が安定する。
    • リブラ建て決済が広まれば、クレジットカード会社の為替リスクが減少する。
  • 欠点
    • 厳格なマネロン対策のための仕組みづくりを各国政府から要求される。国民番号(マイナンバーなど)、残高、送受金日、送受金先など全ての取引情報をリブラ運営当局が政府当局に連絡する体制が確立されることが条件となるだろうが、技術的に大きな障害は無いだろう。
    • BitCoinのICOのように、巨額の発行益を得ることはできない。
    • 巨額の裏付け資産の管理が永久に必要となる。
    • リブラが普及しすぎて各国の独自通貨が殆ど利用されなくなった場合、対リブラの為替レートが不正確になる。
リブラ利用者の視点から
  • 利点
    • リブラ建て取引が主流になると、グローバル企業の為替による企業収益変動幅が縮小する。
    • グローバルな価値の一元管理ができる。送金コストはゼロである。
    • 価値の貯蔵、交換、尺度の道具として用いることができる。
    • リブラによりリスクを単一通貨だけでなく、通貨バスケットに分散できる。
  • 欠点
    • リブラの運営主体が破綻すると、リブラの価値は大幅に棄損する。
    • 現地法により、リブラの利用が禁止される可能性がある。
    • リブラ発行体が裏付け資産運用から得た収入はリブラ利用者には還元されない。
    • バスケット通貨の内、主要な通貨が万が一ハイパーインフレになると、リブラも重大な影響を受ける。
既存の商業銀行の視点から
  • 利点
    • リブラ建て預金、金融商品などの新ビジネスのチャンスが生まれる。
  • 欠点
    • 既存の安価な預金をベースにした預金ビジネスが難しくなる。
    • 既存の銀行を経由した送金ビジネスが縮小する。
    • リブラ建て取引が広まると、グローバル資金管理ビジネスが縮小する。
国家(政府)の視点から 
  • 利点
    • リブラ建て決済が広まると、為替変動による企業収益の振れが縮小するので税収のブレも縮小する。
    • 自国の通貨を管理しきれない大きさの国の場合、リブラへ公式通貨を変えれば、単一国通貨への依存度を減らすことができる。
  • 欠点
    • 全取引情報が国家当局に開示されない限り、マネロンの資金移動や税捕捉が困難である。コンプライアンスの側面から、現在、グローバルに各国政府は金融機関に罰則付きの非常に厳格なマネロン検査を要求している。これは現在の金融が、国家単位でセグメント化されており、金融機関を介さないとマネロンが難しいことによる。ところが、現状ではリブラはこれら既存の金融機関によるチェックの仕組みから完全に遊離しているため、適切な規制を掛けないと、ある意味マネロン天国状態になる。
    • 支払い、預金、納税、財務諸表すべてにリブラ建て決済を認めると、自国通貨の流通が減少しリブラに取って代わられる。
    • リブラが主要通貨となった場合、通貨発行量、金利はグローバルに決まるので、景気刺激の利下げ、景気過熱抑制の利上げなど、国ごとの金融調節ができなくなる。即ち通貨の主権を失う。これを防ぐJOMに類する規制の検討も必要となる。


Libra "Bank"`s Stakeholders



The plan to launch virtual currency called Libra was announced by Face book.

Libra is defined as virtual currency backed by currency basket just like ETF or prepaid card, equipped with currency requirement to be able to preserve / exchange / measure value and will show tremendous convenience to customer once available.

However, Libra, as the status of private entity, is far forgoing ahead of central banks that have primary responsibility to achieve virtual currency setup globally in FinTech era in the 1st place. Hence there still inevitably exist lots of agendas to be cleared such as money laundering, taxable amount capturing, currency ownership by country.

From regulator perspective, Libra is not a virtual currency but a Bank. Libra issuing entity`s balance sheet has currency basket as asset while each currency holder's balances as liability.  This is nothing but a balance sheet of a bank.

If so, Libra is a bank, hence it needs to clear all the bank regulations for each countries it's customers reside.

BitCoin has no specific managing body but Libra is run by listed company that regulator can go after for approvals.

Let's think of stakeholders around Libra.

From Libra Issuance body`s perspective
  • Advantage
    • Interests from trusted underlying assets will not be paid to Libra holder but will be issuer's income. 
    • Can arbitrage difference between undervalued Libra against underlying assets by buying Libra cheap to liquidate while selling underling asset at market price. 
    • Credit card company`s FX risk will decrease if Libra denominated settlement spread extensive. 
  • Downside
    • Will be requested by local regulators to implement stringent anti-money laundering measure. Condition for approval will be to report all transaction and balance information such as national-id(such as social security number), balance, date, counter party to local regulators however, such will not be a big technical problem. 
    • At ICO, cannot enjoy huge issuance profit as BitCoin did.
    • Needs permanent on-going management of huge underlying assets. 
    • Once Libra becomes prevailing currency and existing currencies are not used often anymore, FX rate against Libra for each basket currencies will not be precise anymore.
From Libra user's perspective
  • Advantage
    • Once Libra denominated transactions become mainstream, global enterprise's P/L impact from FX fluctuation will be minimized.
    • Can centralize global cash management automatically. Money transfer cost will be zero.
    • Can use Libra to preserve, exchange and measure value. 
    • Can diversify country risk from single currency to multiple basket currencies. 
  • Downside
    • Once Libra issuance entity goes bankrupt, Libra's value will be devalued significant. 
    • Local regulation may ban the use of Libra.
    • Income that Libra issuer get from underlying asset of Libra will not be reimbursed to Libra holders.
    • If any one of major currency in Libra currency basket gets hyper inflation, Libra will have significant impact as well.  
From existing commercial bank's perspective
  • Advantage
    • New business chances for Libra based deposit, Libra related financial products.
  • Downside
    • Deposit business standing on cheap customer saving accounts will be difficult. 
    • Money transfer business will go extinct. 
    • Global cash management business will go extinct as well, as Libra denominated transactions become spread extensive.
From Government perspective
  • Advantage
    • Once Libra denominated settlement wide spreads, corporate tax national revenue will have less impact from FX fluctuation. 
    • If country is small, hence cannot maintain its own currency, by the use of Libra, the country can avoid dependency to one single country. 
  • Downside
    • Unless all transaction information is disclosed to government regulators, money laundering capturing as well as tax evasion detection will be difficult. From compliance perspective, currently on global scale, each government requests financial institutions to perform stringent money laundering checkups with penalty if not performed well. This is making much of the current framework's characteristics that money laundering is difficult unless it goes through existing financial institutions that are  segmented for each country. However since Libra is totally separate from existing financial institution's money laundering checking framework, Libra, in a sense, will be a heaven for money laundering unless it is properly regulated. 
    • If government approves Libra denominated settlement for payment, deposit, tax payment, financial statements, then local currency will not go circulate extensive anymore, but rather will be replaced by Libra eventually. 
    • Once Libra become major currency, money supply as well as interest rate are decided globally, then monetary control by each country will not be possible such as interest rate lowering to stimulate economy or interest rate hike to calm down excessive booming. This is the status of loss of sovereignty on currency. Measures like JOM may need to be employed to prevent this to happen. 

2019年7月1日月曜日

おカネは汚いもの?100年安心年金の結論 Is Money Dirty? Conclusion of Discussion on Pension Security for 100-yrs.

おカネは汚いもの?100年安心年金の結論

English Follows



「資金運用を義務教育の過程に組み入れる時が来ている」ことが、100年安心年金議論の結論だ。

老後の資金が年金では2,000万円足りないので、各自運用を開始する必要があるが、金融リタラシーがないのでお手上げだという話がでている。

金融リタラシー、一生にわたる各個人の財政運用計画は、一人一人にとって非常に重要な課題なのに、一般の教育課程では全く触れられない。

その根源は「カネは汚い」という刷り込みから始まっている。汚いことを大っぴらに話すな、教育などもっての他だ、ということだ。価値の貯蔵、交換、尺度の「道具」にすぎない「カネ」が「汚い」という刷り込みはいつ始まったのだろうか? 日本だけでなく、有史以来、グローバルに「カネは汚い」、「清貧であるべき」という考え方は、精神的な縛りとして普遍的に存在する。「汚いカネ」を主題とする文芸作品は数限りなくあることからもそれが分かる。

これら「カネの汚さ」は言い換えると「資本の横暴」であり、すべて過去の裸の資本主義から来る社会の極端な2極化による弊害に由来する。「資本の横暴」は共産主義をも生んだ。しかし現代社会において、資本主義の弊害は、累進課税、組合など、様々な手法で補正されている。さらに、昨今のトランプ、Brexit現象などの、民主主義による(革命によらない)資本主義修正メカニズムにより、「カネの汚さ」は縮小している。

資本主義は、国民全員を資本家にすることでその機能を最大限に発揮することができる。しかし、日本においては、資本主義は外国から導入したシステムで本当に自分のものになっていない。金融資産の大部分が預貯金であることがそれを示している。

近年の金融取引に関する消費者保護体制の格段の充実により、国民全員参加の資本主義の準備は完了している。あとはやるだけだ。

Is Money Dirty? Conclusion of Discussion on Pension Security for 100-yrs.




’Now it is time to incorporate fund management as a subject for compulsory education.' is the conclusion for the current discussion on 100-yrs secured pension.

The discussion is about the shortage for JPY20mn as an extra fund necessary to support life beyond current pension scheme, where each need to earn through their own fund management.  However, illiteracy on finance and investment makes people impossible to make such investment decision.

Financial literacy is a very important subject to plan individual life long budget and asset management however, it is never touched during the general compulsory education period.

The source of problem comes from a cultural mind control that ‘money is dirty`, hence people never talk about such nor mention on education of such. The question is when such brainwash started that money is dirty, although money is just a tool for value reservation, value exchange and value measure. Actually, such 'money is dirty', 'stay away from dirty money to be pure' concept exist historically, globally as well as universally, as psychological constraints. It is evidenced by numerous literary works with subject relevant to 'dirty money'.

These 'dirty money' is, in other words, a violence of capital, that stems from all extreme adverse social dichotomization by historical naked capitalism. The violence of capital, historically brought up communism also. However, in modern society, such downsides by capitalism are rather mitigated by lots of measures such as progressive tax, union, etc. On top of that, recent Trump, Brexit phenomena are indicating that correction mechanism of capitalism can also be implemented by democracy (but not by revolution), hence we can conclude that 'dirtiness of money' is on decreasing trend.

Capitalism works most effective when all citizen become capitalist. However, capitalism in Japan is a mere imported implant but never became a 2nd nature. This is evidenced by the fact that majority of Japanese financial assets sit in bank deposits.

Thanks to the recent reform on consumer protection laws on financial services that is far more stringent than ever, Japan is ready for capitalism of the people, by the people, for the people. Why not start now?

2019年6月28日金曜日

AGI (汎用型人工知能) 赤ちゃんモデル AGI (Artificial General Intelligence) Baby Model



AGI (汎用型人工知能) 赤ちゃんモデル

English Follows



現状のAIは関数の補間に過ぎないとは言え、ニューラルネットの実用化は、AIの分野で、人類の偉大な成功の第一ステップであるのは間違いない。

一方、現状で、人間レベルのAIは存在していないのも明らかだ。現存する会話ロボットは、それ自体はなにも「理解」していないことがすぐに分かってしまうレベルだ。

ここから人間並みの知性(AGI)を作り上げるためには、まだ多くのハードルを越えなくてはいけないのは明らかだ。

いくつかのアプローチが考えられ、研究が進められている。

1)哲学的アプローチ
  言語分析、時空把握、などの世界観を知能に組み込むことで人間並みの知性を作る。

2)脳分析アプローチ
  脳の構造を詳細に分析することで脳のエミュレーターを作る。

3)遺伝子アプローチ
  人間に関するすべてのことは遺伝子に書かれているので、遺伝子を解析する。

アプローチ3)は現状で遺伝子はコード配列が分かったのみで、その解読は始まったばかりだ。究極のアプローチであり、ある時点で加速度的な進展が期待できるだろうが、現状ではお手上げ状態だ。

完成品である脳をハード、ソフト両面から分析するアプローチ2)は、設計図を解析するアプローチ3)より近道であることは分かる。

アプローチ1)については、システム化は容易であるが、自ら全く新規のことを分析発展させていく機能を持たせないと、新しい機能が必要な度に、大規模システム開発が必要となってしまい、エキスパートシステムの域を出ない。

そこで、ここに第4のアプローチを提案したい。それは「赤ちゃんモデル」である。

生まれた瞬間に眩しそうな眼をしながら、肺呼吸を開始し、ミルクから栄養を補給。この瞬間から学習が始まる。上手くいかない場合は泣いて救助シグナルを送る。

赤ちゃんは生まれた時点では、3次元の世界も理解できていない。いないいないバーで喜ぶのは3次元の世界の理解の過程である。

ハンドリガードは、赤ちゃんが生後3か月ぐらいで自分の手をグーパーさせているのをじっと注視する現象である。脳がハードウエアとの連結プロトコルを確認している瞬間である。

そして、ハイハイ、伝い歩き、喜びの初めての2足歩行、映像と言語のマッチング。世界の把握。

赤ちゃんの成長過程については深い研究がなされており、これは利用しない手はないだろう。赤ちゃんは白紙だ。どんなことも、飽くなき好奇心で追及し、習得してしまう。このプロセスを出来上がった大人のモデルでなく、赤ちゃんレベルで作ることで、AGIが実現できるのではないだろうか。

AGI (Artificial General Intelligence) Baby Model



Current AI is nothing but generalized interpolation of function however, there is no doubt that recent successful neural net implementation is a great 1st step for human being.

On the other hand, it is clear that there is no AI now at human intelligence level. Lots of chat bots are at the level to be able to see that there is no real understanding done.

Obviously there are lots of hurdles from here to get over to achieve human level intelligence (AGI).

Currently couple of approaches are sought out.

1) Philosophical approach

Create human level intelligence incorporating the functions for language analysis, space recognition etc.

2) Brain analysis approach

Create brain emulator by the study on brain structure.

3) Genetic approach

All related to human are written in gene code after all, so study gene structure.

Approach 3) is the ultimate way and development may accelerate from certain level however there is no chance to go anywhere at this point since genetic code order is almost everything we know but not the way to interpret it.

Approach 2) has better chance than approach 3) since it starts from brain already reflecting the design and actually working.

Approach 1) looks most easy for implementation but unless equipped with auto functionality to investigate and develop brand new things, there will be a constant need for huge system development, hence it will not go beyond expert systems.

Hence I wish to propose 4th approach here. That is Baby Model.

Dazzled by lights and starts breathing by own lang, then get nutrition from milk. Learning starts from this moment. Cry to request for help if things are not going right.

The baby has no understanding on 3D world at the time of birth. Peekaboo makes baby excited since it is a process of understanding of 3D world.

Hand Regard is a phenomena that 3-month baby stares own hands to do open shut. It is a moment when brain and hardware is confirming joint protocol.

Then crawling, walking by holding rail, happy 2-leg walking for the 1st time, matching between visions and words. Understanding of the world.

Lots of studies have been done for the growth process of baby, so why not making use of them. Baby is empty in the beginning but will go after and learn anything driven by curiosity. AGI can be realized by achieving this learning process not from adult model but from baby model.

情報一元化 One Fact One Place

情報一元化


多くの会社で実現できていない情報一元化。

特に大きな会社ほど、情報の冗長性は高い。

おなじような情報が一貫性を欠いて会社にはあふれている。

意図的な冗長性はシステムの信頼性の向上には役立つが、

殆どの場合、冗長性は無駄の元凶だ。

まずは身近なところから、情報を集約していってはどうだろうか?

One Fact One Place 


Most company has no repository for essential information.

The bigger the firm, the higher the redundancy.

We see inflation of similar but inconsistent information.

Intentional redundancy helps increase reliability of system.

However, in most cases, redundancy is the source of waste.

Let's start consolidating information from anywhere close to you.