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
{{ message }}
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.
I am not limited by startCapital. In any strategy event callback invocation where state.capital.cash > 0, I can buy as I wish to using multiple buys as long as each buy is for <= state.capital.cash. state.capital.cash goes negative.
It seems that within a single event cycle you either don't update state.capital.cash or don't check trades against the updated value.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am not limited by startCapital. In any strategy event callback invocation where state.capital.cash > 0, I can buy as I wish to using multiple buys as long as each buy is for <= state.capital.cash. state.capital.cash goes negative.
It seems that within a single event cycle you either don't update state.capital.cash or don't check trades against the updated value.
The text was updated successfully, but these errors were encountered: