Skip to Content
Bad Data 技術手冊
book

Bad Data 技術手冊

by Q. Ethan McCallum
September 2013
Intermediate to advanced
264 pages
5h
Chinese
GoTop Information, Inc.
Content preview from Bad Data 技術手冊
121
第九章
當資料與現實不相符時
Spencer Burns
想要打敗股票市場是非常困難的,這應該是個常識。但在事情的表面上,它看起來單純
是個分析問題,而不是一個資料問題。建立模型是很困難的;建立一個時間序列應該是
簡單的。在每天(或每分鐘、每毫秒),每支不同股票都會列出買進的價格,並且你可
以在其後將它賣出,藉由比較兩者的價錢來計算出收益。
每個在事前敘述的假設通常都是對,但它們常常會失敗而造成模型的毀損。股票資料序
列看起來是有結構性且乾淨的,但該特性也隱藏了該股票在今天的整體走勢。它是個將
混亂的真實掩蓋起來的「好」資料。
股票資料並不是從市場的獨立觀察而來的;該資料是市場的一個不可或缺的部分。會存
在一個緊密的回饋迴圈,讓關於市場狀態的資料影響市場本身(例如,提高價錢反而
會讓人們將價格拉的更高)。並且,在市場中發生的事情也能夠改變市場的本質。例如
說,當跌價的公司離開了市場,或是漲價的公司購買了其他公司,或是當市場崩潰而造
成交易規則的改變時。
在實際上的意義是,今天的股票市場與昨天的股票市場並不是完全相同的,每天都是一
個新的實驗。資料必須要持續性的微調,來讓昨天可以跟今天一起比較。
放大這個問題,多數的交易策略平均來說都只能勉強獲利(或是無法獲利),藉由大量
的小交易來換得有意義的結果。所以就算是微小的系統性錯誤都能夠累積成讓分析嚴重
錯誤的結果。可用的資料也許能夠緊密的表現真實狀況,但微小的誤差是會有影響的。
119
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

RxJava反应式编程

RxJava反应式编程

Tomasz Nurkiewicz, Ben Christensen
高效能PYTHON程式設計

高效能PYTHON程式設計

Micha Gorelick, Ian Ozsvald
Kubernetes编程

Kubernetes编程

Michael Hausenblas, Stefan Schimanski

Publisher Resources

ISBN: 9789862768952