Visual studio code snippet choices and variables
It seems like you choices don't support variables. As far 如何使用 RobinHood 購買 Options as the provided grammar suggests, choices can only be text.
1 Answer 1
Although you cannot directly use variables in a snippet choice, you can workaround it like this:
The idea being that the fileName choice is actually another snippet that you can trigger after making the choice. After you select fileName you will have to Ctrl + Space to bring up the second snippet. It is a little more work 如何使用 RobinHood 購買 Options but it does allow you to get "variable-like" behaviour in a snippet choice. And in the second snippet you can add or modify the file name however you like.
Also, sometimes you have to modify the choice a bit. I modified yours but the output is the same. Otherwise [fileName] is printed and that won't be seen as a 如何使用 RobinHood 購買 Options match for the other fileName prefix. Although in your case, you could leave it as :
in the first snippet and then make the second prefix like so:
Same result, just be aware to adjust the second prefix to match what is actually printed out by the choice selection or it won't work.
首先我们假设你没有美国绿卡，因为如果有美国绿卡的话不管你跑到天涯海角你都要给美国交税。那么当你回国之后，一年后就变成 Non-Resident Alien (NRA) 了（关于 Non-Resident Alien (NRA) 和 U.S. Person 的具体定义和区分可以参考这篇文章《报税身份辨析 - 美国信用卡指南》）。但是现在的问题是，Robinhood 这个券商的服务范围只有 U.S. Person，从它的服务条款上就可以看得出它理论上来说是不给NRA提供服务的。而且不光是理论上，在实践中，如果Robinhood为了用户方便而帮忙预扣税的话（具体他们会不会这么做我也不确定），那很可能到时候你的税就成了一团糟了。如果你一年没有在美国呆满183天且你是NRA，那么你不需要给美国交资本利得税，且红利税也比较低，如果报错了税损失的是你自己。
正规解决方案就是去开一个支持NRA的券商，把股票从Robinhood transfer过去。大的老牌券商如Schwab, Fidelity, TD等都是支持NRA去实体店开户的。如果你已经回国了不方便来美国，也可以参考一下《中国人如何买美股？国内远程开户且$0佣金的券商推荐》远程开一个即可。
如何使用 RobinHood 購買 Options
Options trading can be risky business, and it’s important for any trader to have a handle on their personal risk management strategy.
Content is provided for informational purposes only, does not constitute tax or investment advice, and is not a recommendation for any security or trading strategy. All investments involve risk, including the possible loss of capital. Past performance does not guarantee future results.
Options trading entails significant risk and is not appropriate for all customers. Customers must 如何使用 RobinHood 購買 Options read and understand the Characteristics 如何使用 RobinHood 購買 Options and Risks of Standardized Options before engaging in any options trading strategies. Options transactions are often complex and may involve 如何使用 RobinHood 購買 Options the potential of losing the entire investment in a relatively short period of time. Certain complex options strategies carry additional risk, including the potential for losses that may exceed the 如何使用 RobinHood 購買 Options 如何使用 RobinHood 購買 Options original investment amount.
Robinhood Financial does not guarantee favorable investment outcomes. The past performance of a security or financial product does not guarantee future results or returns. Customers should consider their investment objectives and risks 如何使用 RobinHood 購買 Options carefully before investing in options. Because of the importance of tax considerations to all options transactions, the customer considering options should consult their tax advisor as to how taxes affect the outcome of each options strategy. Supporting documentation for any claims, if applicable, will be furnished upon request.
美股 Stock broker Robinhood 在国内如何使用？没有ssn?
查了一下这家公司, 其中"Terms and Conditions"中规定了只供美国本土(不一定是美国籍, 但是必须是居民)用户注册使用. 所以没有SSN是用不了的. 具体可以参考下面这一段. 希望有所帮助
U.S. Residents Only
The Content, investment products and services offered on the websites are intended for U.S. residents only. They shall not be considered a solicitation to any person in any jurisdiction where such solicitation would be illegal.