Broker API HubMenu

DXtrade FIX reject reason

DXtrade FIX reject reason: PBASED_NO_POSITION_FOR_CLOSE

The error, as text you can copy

PBASED_NO_POSITION_FOR_CLOSE
Kind
FIX reject reason
Where you meet it
In a reject message on the FIX session, not in an HTTP reply
API
DXtrade APIs

What does PBASED_NO_POSITION_FOR_CLOSE mean on the DXtrade API?

In the DXtrade FIX Trading API, PBASED_NO_POSITION_FOR_CLOSE is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text. An attempt was made to close a position that does not exist.

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

Independent and unofficialdemo.dx.tradechecked

No fix in the source

The vendor's page gives no remedy.

That is all the source says, so this page does not invent a fix. General guidance: the other fIX reject reasons recorded for DXtrade, and the error lookup for the exact text of the reply you received.