rewrite python to java
- Status: Closed
- Prize: $36
- Entries Received: 1
- Winner: shakilmulani
Contest Brief
I need the attached two scripts, "oauth.py" and "get_options_chain.py" rewritten in Java.
The dependency module "market.py" which is imported by "get_options_chain.py" is also attached.
The python standard "requirements.txt" file is also attached.
The rewrite should produce two separate Java files with main() method: Oauth.java and GetOptionsChain.java.
The best rewrite will win.
Recommended Skills
Employer Feedback
“Exceeded expectations by finding a better solution I didn’t realize was possible. ”
afterhourstech, United States.
Public Clarification Board
-
saurabhwadhwa
- 3 years ago
Hello, I need the login credentials to the the etrade portal. Once the Authorize API is called, the user is supposed to login to get the verification code, which would then be used for the access token API.
- 3 years ago
-
Contest Holder - 3 years ago
When are you available to do testing? I can enter my credentials in screenshare.
- 3 years ago
-
saurabhwadhwa
- 3 years ago
Hello, is there a separate authorize URL for the sandbox environment? I see different links for request and access token for sandbox but not for the authorize URL.
- 3 years ago
-
ravi12shankar12
- 3 years ago
Hi , The provided key for sandbox environment is not working . Please provide different c oauth_consumer_key and customer_secret.
- 3 years ago
View 1 more message-
Contest Holder - 3 years ago
What error are you getting?
- 3 years ago
-
ravi12shankar12
- 3 years ago
When I am running your python code , I am getting redirected to the etrade website , there it is asking me to login . But it should not happen . Once I redirected to the etrade it should automatically login .
- 3 years ago
-
shakilmulani
- 3 years ago
can you share sandbox credential for testing
- 3 years ago
-
shakilmulani
- 3 years ago
Will resubmit completed code
- 3 years ago
-
shakilmulani
- 3 years ago
Please check #6 . and I am available for testing session.
- 3 years ago
-
mugB
- 3 years ago
Just for clarification, this will need a rewrite of market.py as well right?
- 3 years ago
-
Contest Holder - 3 years ago
Right, it's the main dependency for one of the other scripts.
- 3 years ago
-
mugB
- 3 years ago
Thanks
- 3 years ago
-
Contest Holder - 3 years ago
*** ATTENTION CONTESTANTS *** I am willing to have screenshare testing session with whoever has the most complete, best-looking code. Please post the code and also your working hours and timezone.
- 3 years ago
-
Contest Holder - 3 years ago
I am available July 18 @ 10:00am US Pacific Timezone.
- 3 years ago
-
msavinash1139
- 3 years ago
Can you send a sample configuration file? And what is the command line argument passed in Oauth.py?
- 3 years ago
-
Contest Holder - 3 years ago
My production config.ini is:
[DEFAULT]
CONSUMER_KEY=xxx
CONSUMER_SECRET=xxx
PROD_BASE_URL=https://api.etrade.com- 3 years ago
-
Contest Holder - 3 years ago
Command line argument is stock symbol such as MSFT, AAPL, TSLA
- 3 years ago
-
Contest Holder - 3 years ago
*** ATTENTION ALL CONTESTANTS ***
The sandbox credentials for testing can be found at the link below:
https://pastebin.com/yDXn8ytG
This contest is now #guaraneed and #priceincreazed by 20% and extended by 2 weeks.
The Entry#3 is on the right track.- 3 years ago
-
StrongDecs
- 3 years ago
Hello, Increase price please. Thanks,
- 3 years ago
-
Contest Holder - 3 years ago
Prize has been increased by 20% and #guaranteed
- 3 years ago
-
tembi
- 3 years ago
#increaseprize
- 3 years ago
-
Contest Holder - 3 years ago
Prize has been increased by 20% and #guaranteed
- 3 years ago
-
djoulimohamed
- 3 years ago
#increaseprize
- 3 years ago
-
Contest Holder - 3 years ago
Prize has been increased by 20% and #guaranteed
- 3 years ago
-
fleischf
- 3 years ago
Your bank also offers a download for a java version, but it is ancient and riddled with security issues. So, by now I was able to reproduce the old Java API to work with current day Java and Spring. I just wanted to give you a little heads up that I now can test your python req against java in their api. My question now would be if you really just need a Java version of those two files or a real functioning versioning, since the jave api is a lot more elaborate.
- 3 years ago
-
Contest Holder - 3 years ago
I only need the functionality from the python files I gave. The original java found on their website didn’t work for me and this is why I took the python version and just removed the stuff I don’t need.
- 3 years ago
-
Contest Holder - 3 years ago
Also, the my python files have as small amount of extra functionality, which must be included in the rewrite.
- 3 years ago
How to get started with contests
-
Post Your Contest Quick and easy
-
Get Tons of Entries From around the world
-
Award the best entry Download the files - Easy!