Digest | Option Trading

What is Option Trading ? A security giving the right to buy or sell an asset, subject to certain conditions, with a specified period of time. Strike Price 琛屾潈浠凤紱 Premium 鏈熸潈浠凤紱 European Option: Exercisable only on the expiration date. American Option: Can be exercised at any time before the expiration date. When the stock price is much greater than theexercise price, the option is almost sure to be exercised. The current value ofthe option will thus be approximately equal to the price of the stock minusthe price of a pure discount bond that matures on the same date as theoption, with a face value equal to the striking price of the option. ...

March 9, 2025 路 3 min 路 438 words 路 Wenbo

Digest | SQL Quick Note 2

Transaction Transaction is a series of queries It鈥檚 the unit of operation Non-devisible, either all queries executed, either none Important way to maintain consistency and data integrity BEGIN TRANSACTION SELECT * FROM A COMMIT; ROLLBACK; Atomicity The transaction is indivisible Rollback when failed The Atomicity is achived by Undo Log Undo log stores the reversve operation logic with every queries Undo log is stored in the different table space It will mainly record the value and operation If a ROLLBACK invoked, the data is able to be restored by undo-log Consistency Consistency refers to data consistency and read consistency ...

January 13, 2025 路 8 min 路 1686 words 路 Wenbo

Note | Batch Gradient Descent Algorithm

Overview In the linear regression prediction, we want to find a hypothesis function to predict the future outcome. The method in supervised learning is by using loads of training data sets and a learning algorithm to let the result of the hypothesis function close to the real value as possible as we can. ...

March 14, 2021 路 5 min 路 873 words 路 Wenbo