Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

order.error.default when selling open position #55

Open
JoshuaSparx opened this issue Oct 5, 2023 · 0 comments
Open

order.error.default when selling open position #55

JoshuaSparx opened this issue Oct 5, 2023 · 0 comments

Comments

@JoshuaSparx
Copy link

JoshuaSparx commented Oct 5, 2023

Hi,

Everything always used to work fine, but for some reason all of a sudden whenever i try to sell a asset (ADYEN) in this case., i always get the error: order.error.default as a return when creating the order.
I currently have 1 position open on adyen (size=1), and try to do SELL 1.

    const order = {
      buySell: DeGiroActions.SELL,
      orderType: DeGiroMarketOrderTypes.MARKET, // LIMITED, MARKET, STOP_LOSS_LIMIT, STOP_LOSS
      productId: symbolId,
      size: 1,
      timeType: DeGiroTimeTypes.PERMANENT,
    };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant