Chavithra / degiro-connector

This is yet another library to access Degiro's API.
BSD 3-Clause "New" or "Revised" License
205 stars 46 forks source link

Order placement error #100

Closed ash21213 closed 5 months ago

ash21213 commented 1 year ago

def PLACEORDER(vid):

SETUP ORDER

order = Order( action=Order.Action.BUY, order_type=Order.OrderType.LIMIT, price=10, product_id=vid, size=1, time_type=Order.TimeType.GOOD_TILL_DAY, )

def BUY_ORD(): SSSYM = result[result['name'] == FSCR.get()] #Getting the DFrame of selected symbol from combobox selsym=SSSYM['id'] sym=str(selsym[0]) vid=sym PLACEORDER(int(vid))

While trying to place a limit order, i am getting the following error.

CRITICAL:degiro_connector.trading.actions.action_check_order:404 CRITICAL:degiro_connector.trading.actions.action_check_order:{"errors":[{"text":"No corresponding resource found"}]} confirmation_id = checking_response.confirmation_id AttributeError: 'NoneType' object has no attribute 'confirmation_id

Chavithra commented 5 months ago

Hello there,

the library models have changed since this issue was opened.

Maybe you can try with the new examples.

Closing this issue, feel free to open a new one if you still have questions.

Thanks