You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder why the default param value for 'stocklike' is initialized in the comminfo as False. I think that is used for instruments like Futures. The calculation of the position and cash adjustment underlying are different than stocks. If 'margin' is set to None, the actual 'stocklike' value is True, then it is not necessary to declare it explicitly and a little bit confusing.
AlpacaCommInfo(mult=1.0, stocklike=False))
The text was updated successfully, but these errors were encountered:
Hi,
I wonder why the default param value for 'stocklike' is initialized in the comminfo as False. I think that is used for instruments like Futures. The calculation of the position and cash adjustment underlying are different than stocks. If 'margin' is set to None, the actual 'stocklike' value is True, then it is not necessary to declare it explicitly and a little bit confusing.
The text was updated successfully, but these errors were encountered: