开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Problem allocation for placeOrder(app.nextorderId, FX_order('EURUSD'), order)


GUY
 
Edited

Good morning
i 'm french . sorry for my english

I'm working on the TWS API. Everything went very well until I got to the order with the PYTHON command

app.placeOrder (app.nextorderId, FX_order ('EURUSD'), order) Previously I had launched the order app.reqAccountUpdates (True, "U**")

The order has been transmitted well and is well placed on the TWS platform with the associated transmit. But that's where the bottom hurts. it is impossible for me to transmit the order because the 'allocation' is blank. I have to manually enter this allowance in order to be able to execute this order. I don tried to update the default settings like this with my account number U**

But nothing has changed . I am completely stuck in this ultimate step. Can you help me?

I'll take it back to you in advance.

[Edited by Moderator to remove account number]

best regards
guy

?

?

Join [email protected] to automatically receive all group messages.