No, I understood. I was just trying to illustrate that my account is small and holds a wide variety of securities, and has no problem with whole shares. For an even smaller account like the one you mention, one would be well advised to hold an ETF instead.
The features I mentioned all require nontrivial software engineering. So no, they don’t just “exist” in any library, including Pyfolio.
just a general question on fraction shares, for the trading fees (REG and TAF) how would those work with fractional shares? My understanding is they are something like $0.000015 per share. Can i assume with fractional shares it would be half if I bought half a share?
There is a new fractionable member variable in the Asset class.
Python example:
import alpaca_trade_api as tradeapi
import pandas as pd
api = tradeapi.REST()
ass = api.list_assets()
df0 = pd.DataFrame([ a._raw for a in ass ])
df1 = df0[df0.fractionable]
df1.shape
But be careful as this isn’t documented anywhere in the API so it could change.
Anyone know about the fractional share commission question I asked? Are the reg fees reduced by the fractional amount or does alpaca continue to over charge its users in addition to the rounding up game that is being played?
This is really exciting! Fractional limit orders would be incredibly useful to me. Unfortunately market orders just aren’t that useful to me. I know fractional limit orders are on Alpaca’s roadmap already, just figured I’d voice my support!