Ben Chuanlong Du's Blog

It is never too late to learn.

Understand DSL in Kotlin

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Kotlin DSL in under an hour by Anton Arhipov

https://www.youtube.com/watch?v=0DJqr4FZ6f0

Kotlin tutorial : How to use Function Literal with Receiver in Kotlin | Kotlin 101

https://www …

Tips on Pattern Day Trading

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://www.investopedia.com/terms/p/patterndaytrader.asp

https://forum.alpaca.markets/t/apierror-trade-denied-due-to-pattern-day-trading-protection/211

https://www.finra.org/investors/investing/investment-products/stocks/day-trading

https://alpaca.markets/support/pattern-day-trading-protection

Here are …

Tips on the Uplift Desk

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Troubleshooting

If your desk will move downwards, lower it to the lowest possible position. Next, hold the down button on your keypad for 30 seconds without letting go. Then release.

(Please …

Taxes on Investment Gains

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Treasury bonds and securities are exempted from state & local income taxes.

  2. The IRS allows you to deduct from your taxable income a capital loss, for example, from a stock or other …

Tips on the Alpaca Trading Platform

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Trading Fees

What are the regulatory fees?

Alpaca does NOT charge commision fees for trading stocks and ETFs. However, Alpaca does charge SEC process fee (SEC), option regulatory fee (ORF), trading …