-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker image build and push failing #15
Comments
The dockerfile from the fork doesnt actually work - took me a while but did eventually manage to get it running in headless mode for docker - but can confirm, was a giant ballache |
Cool, great job.I tried to make it work but failed. Would you share your solution for headless mode? |
I did tweak some stuff in the actual code but I don't think its needed, but let me know if this bombs out for you
Note that you'll need to run it with extra space given to shm when running it, so something like this: |
whilst you're here actually, do you know what I'm doing wrong with opening positions? literally everything bombs out saying it couldnt find the asset with ID xxx when making a buy order on demo |
Hi, you probably didn‘t added asset to your whatchlist, try to remove whatchlist.json and do again |
Perfect, sorry I'm an idiot who didn't read the readme properly! Many thanks! Only remaining question is can you set a takeprofit / set a stop loss based on percentage like in the real api, ie take profit of 5% - or do you need to calculate the TL rate manually? Promise I checked the docs first this time :) |
and I guess for bonus points, is there a way to place an order rather than 'at market'? - might even be worth opening up a proxy that u can just jam requests at and it adds the necessary headers. happy to offer some help making any of this possible if it isnt already :) |
hi, about place order API I don't have this at the time, you can try to implement it just like openPosition method. But first you have to find out which REST API etoro uses for that. |
Hey @ashalliants, I tried to copy your dockerfile, but it fails for me... does it still work for you even with the newest Chrome? I feel like the newest chrome broke it |
I mean you can try just using an older version of the chrome image then,
but it's been 100% working for me and I truly like in the last couple of
weeks. Make sure you use the shg param or whatever it is. (Sorry I'm not at
my computer right now)
…On Mon, 1 Feb 2021, 8:54 am Justin Güse, ***@***.***> wrote:
Hey @ashalliants <https://github.com/ashalliants>, I tried to copy your
dockerfile, but it fails for me... does it still work for you even with the
newest Chrome? I feel like the newest chrome broke it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHP3JGSS6S47OK4K5VVPA5LS4ZT5HANCNFSM4TXDLYUA>
.
|
Alright, thanks! I will try around and post it here if I have a solution! |
Alright, with a little tweaking I got it to work and published the image to dockerhub: |
think someone might have beaten you to it :)
https://hub.docker.com/r/yitelee/etoroapi
…On Mon, 1 Feb 2021 at 09:38, Justin Güse ***@***.***> wrote:
Alright, with a little tweaking I got it to work and published the image
to dockerhub:
https://hub.docker.com/repository/docker/guestros/etoroapi
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHP3JGUOP3RE2JOZ7RPXCJTS4ZZCHANCNFSM4TXDLYUA>
.
|
The automatic action to build and push the docker image to the docker repository is failing.
The text was updated successfully, but these errors were encountered: