Comments (17)
Hello @funnel20,
you are right, I think they have changed their API.
The check_order
response looks like this now :
{
"confirmationId": "MOCK_CONFIRMATION_ID",
"freeSpaceNew": 1.2345,
"showExAnteReportLink": true,
"transactionFee": 1.2
}
A new release let you access these new parameters.
from degiro-connector.
@Chavithra Awesome. I already wrote the docu with the Pythonian names.
from degiro-connector.
Hi @Chavithra,
Thanks, I'll test it tomorrow. I see you have it assigned to me. Do you want me to update the docu?
from degiro-connector.
Hi @Chavithra, Thanks, I'll test it tomorrow. I see you have it assigned to me. Do you want me to update the docu?
The assignment thing as likely no meaning except: waiting for feedback.
Your contribution is always welcome.
Thanks for letting me know about this bug.
from degiro-connector.
@Chavithra I'd like to test the update, but pip
doesn't have version 2.0.14:
ERROR: Could not find a version that satisfies the requirement degiro-connector==2.0.14 (from versions: 0.0.4, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.11, 0.1.0, 0.1.1, 0.1.3, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13) ERROR: No matching distribution found for degiro-connector==2.0.14
Can you please release it?
from degiro-connector.
@Chavithra I'd like to test the update, but
pip
doesn't have version 2.0.14:
ERROR: Could not find a version that satisfies the requirement degiro-connector==2.0.14 (from versions: 0.0.4, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.11, 0.1.0, 0.1.1, 0.1.3, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13) ERROR: No matching distribution found for degiro-connector==2.0.14
Can you please release it?
fixed
from degiro-connector.
Cool. I'm working on improved docu for Chapter 4 (Orders). I'll send you a PR once ready for review.
from degiro-connector.
@Chavithra I've tested check_order()
with 2.0.14, but only see 3 of these parameters:
confirmation_id: "e2a1da94-aaaa-4f24-85c0-6c9320804534"
response_datetime {
seconds: 1642520015
nanos: 569196000
}
transactionFee: 2.5
showExAnteReportLink: true
freeSpaceNew
is missing.
I also notice that these parameter names have camel case syntax, instead of the Pythonian underscores. Existing names are:
free_space_new
transaction_fees
- Propose
show_ex_ante_report_link
for the new one
Can you update these please, to prevent breaking changes for users?
Regarding the docu, do you have any idea what show_ex_ante_report_link
means?
from degiro-connector.
Cool. I'm working on improved docu for Chapter 4 (Orders). I'll send you a PR once ready for review.
Update is pending as PR #59
from degiro-connector.
@Chavithra Did you see my feedback?
And can you update please?
from degiro-connector.
Hello @funnel20 I indeed didn’t see your feedback.
Thank you for this reminder.
Noted this point will work on it the following days.
from degiro-connector.
@Chavithra I've tried to solve this for you, but I've no clue how. Especially since I have no idea where the file 'trading.proto' is stored on my local machine. So any changes I made to 'degiro_connector/trading/models/trading_pb2.pyi' had no effect.
Could you please have a look into it?
from degiro-connector.
Hey @funnel20,
REPORT EX-ANTE
When you place an order the website probably displays a link called :
Download the Costs and Charges Report
I think this is the report ex-ante
, to know the cost before confirming the order.
FREE SPACE NEW
I can't reproduce this issue :
- missing
free_space_new
in the response ofcheck_order
function.
Do you still have this issue ? if so with which product ?
Thanks
from degiro-connector.
Hi @Chavithra . I'm using version 2.0.15 of the-connector.
I have placed orders for a Dutch stock (ABN-AMRO) and Apple (APPL) on Nasdaq.
My code for AAPL:
order = Order(
action=Order.Action.BUY,
order_type=Order.OrderType.LIMIT,
price=162.4,
product_id=331868,
size=1,
time_type=Order.TimeType.GOOD_TILL_DAY,
)
# FETCH CHECKING_RESPONSE
checking_response = trading_api.check_order(order=order)
logging.info(checking_response)
This prints:
INFO - confirmation_id: "20033f1e-XXXXXXX"
response_datetime {
seconds: 1644174683
nanos: 987875000
}
transactionFee: 0.5
showExAnteReportLink: true
So still see the camel Case variable names and no free_space_new
.
from degiro-connector.
Just tried this same code and can't reproduce the issue.
1/ Do you have the Free new space
when you try the same operation on the websit ?
2/ Would it be possible to try with version 2.0.16 ?
from degiro-connector.
- This is what I get in check order:
- With 2.0.16 I do see the name changes of the other 2 parameters, but still no
free_space_new
:
INFO - confirmation_id: "63e60fc3-XXXX"
response_datetime {
seconds: 1644177327
nanos: 82671000
}
transaction_fee: 0.5
show_ex_ante_report_link: true
However, please note that the original name was transaction_fees
(plural, see last "s") instead of transaction_fee
.
I used raw=True
, but same missing output:
INFO - {'data': {'confirmationId': '272670c4-XXXX', 'transactionFee': 0.5, 'showExAnteReportLink': True}}
from degiro-connector.
@Chavithra Are you sure that you don't have an old version of the connector somewhere on your machine?
What is your raw output?
from degiro-connector.
Related Issues (20)
- Retrieve Portfolio content from the past HOT 5
- EstimatesSummaries error HOT 3
- Order only succeeds when logged in once via browser HOT 18
- Documentation example at section 6.6 now working HOT 2
- Favourite list management HOT 3
- Error on quotecast_api.logout() HOT 2
- New DDoS protection on DeGiro blocking this library? HOT 4
- unable to login HOT 2
- Historical intraday data HOT 1
- Running into issue with totp_secret_key HOT 2
- Getting None on TransactionsHistory and AccountOverview after weekend update HOT 1
- Automated Tools to be disallowed from October 1st? HOT 5
- Quotecast API freezes after exactly 1 hour since August 30, 2022 HOT 2
- "Get Portfolio" does not returns the tickers names HOT 1
- Access to Order Book HOT 2
- Closing price end of day
- Protobuffer generated code out of date HOT 3
- Portfolio values not up to date
- Account blocked due to too many login attempts HOT 1
- Real-time data fetch issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from degiro-connector.