Error code Code: 796 while creating new positions with leverage
Hello,
Really nice work. Thank you for your time and implication.
Currently I think it is an issue with opening new positions.
{
"name": "aapl",
"type": "BUY",
"amount": 500,
"leverage": 2
}
leverage on aapl works on web ui but on api level this error is prompted:
{
"timestamp": "2020-09-29T17:21:50.753+0000",
"status": 500,
"error": "Internal Server Error",
"message": "Code: 796, details: null",
"path": "/etoro-api/positions/open"
}
It works only with leverage 1.
Did you take into consideration to update it in order to create limit orders? Thank you!
hi, thanks for the interest to this project.
I'll investigate it and let you know.
It could be something with watchlist.json try to delete it and try again.
Best regards, Oleh
От: iteddy09 [email protected] Отправлено: 29 сентября 2020 г. 19:04 Кому: oleh2208/etoro-api [email protected] Копия: Subscribed [email protected] Тема: [oleh2208/etoro-api] Asset with id XXXXX was not found. (#12)
Hello,
Really nice work. Thank you for your time and implication.
Currently I think it is an issue with opening new positions.
{ "name": "aapl", "type": "BUY", "amount": 500, "leverage": 5, "takeProfitRate": 350, "stopLossRate": 105 }
always return regardless of instrument used.:
{ "timestamp": "2020-09-29T17:01:44.485+0000", "status": 500, "error": "Internal Server Error", "message": "Asset with id 1001 was not found.", "path": "/etoro-api/positions/open" }
Did you take into consideration to update it in order to create limit orders? Thank you!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/oleh2208/etoro-api/issues/12, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADHNNVVOGUB32ABYMLDA5LLSIIHRRANCNFSM4R6B3VBQ.
About order API, it's relatively easy to implement, although I have a lot to do now and I can't continue with this soon.
От: iteddy09 [email protected] Отправлено: 29 сентября 2020 г. 19:04 Кому: oleh2208/etoro-api [email protected] Копия: Subscribed [email protected] Тема: [oleh2208/etoro-api] Asset with id XXXXX was not found. (#12)
Hello,
Really nice work. Thank you for your time and implication.
Currently I think it is an issue with opening new positions.
{ "name": "aapl", "type": "BUY", "amount": 500, "leverage": 5, "takeProfitRate": 350, "stopLossRate": 105 }
always return regardless of instrument used.:
{ "timestamp": "2020-09-29T17:01:44.485+0000", "status": 500, "error": "Internal Server Error", "message": "Asset with id 1001 was not found.", "path": "/etoro-api/positions/open" }
Did you take into consideration to update it in order to create limit orders? Thank you!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/oleh2208/etoro-api/issues/12, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADHNNVVOGUB32ABYMLDA5LLSIIHRRANCNFSM4R6B3VBQ.
i can implement, sure. but currently i don't managed to find documentation for "https://www.etoro.com/sapi/"
did you reverse engineer the requests their web ui use ?
yes
От: iteddy09 [email protected] Отправлено: 27 октября 2020 г. 15:16 Кому: oleh2208/etoro-api [email protected] Копия: oleh2208 [email protected]; Comment [email protected] Тема: Re: [oleh2208/etoro-api] Error code Code: 796 while creating new positions with leverage (#12)
did you reverse engineer the requests their web ui use ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/oleh2208/etoro-api/issues/12#issuecomment-717235544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADHNNVSF273FAEHUB577GQLSM3B3FANCNFSM4R6B3VBQ.