Skip to content
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

Leave some suggestions for future features #4

Open
zLeki opened this issue Feb 25, 2024 · 28 comments
Open

Leave some suggestions for future features #4

zLeki opened this issue Feb 25, 2024 · 28 comments
Assignees

Comments

@zLeki
Copy link
Owner

zLeki commented Feb 25, 2024

Any ideas would be appreciated and taken into consideration in the future, please leave some below it would help me grow this project into something larger.

@potatoesforliferi
Copy link

personally i would like a simpler system of setting up things like Take profits and stop losses when i set a market order.
I am going to try running your code on golang, when i get the time, but i couldnt see how to set up an order like

"market buy SL 500pips TP 1000pips" sort of input.

@kpathan
Copy link

kpathan commented Feb 26, 2024

Add feature to update stoploss and take profit

@zLeki
Copy link
Owner Author

zLeki commented Feb 26, 2024

Gotcha, i'll work on it thank you for the suggestion

@zLeki zLeki self-assigned this Feb 26, 2024
@zLeki
Copy link
Owner Author

zLeki commented Feb 28, 2024

Add feature to update stoploss and take profit

Done - I have pushed it to main branch

@zLeki
Copy link
Owner Author

zLeki commented Feb 28, 2024

personally i would like a simpler system of setting up things like Take profits and stop losses when i set a market order.

I am going to try running your code on golang, when i get the time, but i couldnt see how to set up an order like

"market buy SL 500pips TP 1000pips" sort of input.

This has also been done and is pushed to the main branch

@potatoesforliferi
Copy link

awesome, saw the code changes to that TP SL thing zleki, just thinking the "examples" buy stuff needs to be updated now

@zLeki
Copy link
Owner Author

zLeki commented Feb 28, 2024

awesome, saw the code changes to that TP SL thing zleki, just thinking the "examples" buy stuff needs to be updated now

You're right, i'll edit them thanks.

@kpathan
Copy link

kpathan commented Mar 3, 2024

Would like to get market data

@zLeki
Copy link
Owner Author

zLeki commented Mar 3, 2024

Would like to get market data

Unfortunately it cannot be done due to their api restrictions

@kpathan
Copy link

kpathan commented Mar 3, 2024

is there anyway I can submit trailing stop loss with if then in order /modify order

@zLeki
Copy link
Owner Author

zLeki commented Mar 3, 2024

is there anyway I can submit trailing stop loss with if then in order /modify order

Yeah but calculations must be done server side because dxtrade doesn't offer trailing stops on their platform unfortunately

@potatoesforliferi
Copy link

i think an installation guide and running guide might be useful. Am currently noob at golang, so not knowing where to start is tough. :)

Thank you for the library anyways :D

@patique
Copy link

patique commented Mar 3, 2024

@zLeki thank you very much for your awesome work

@0xRowie
Copy link

0xRowie commented Mar 4, 2024

@zLeki Thanks for your work, currently working on an EA for MT5 to copy trades to DXTrade, the only thing is that I cannot find any documentation using the https://dxtrade.*****.com/api/ endpoint? Where did you find this?

@zLeki
Copy link
Owner Author

zLeki commented Mar 4, 2024

A lot of digging through the chrome network tab lmao @0xRowie

@0xRowie
Copy link

0xRowie commented Mar 4, 2024

A lot of digging through the chrome network tab lmao @0xRowie

I was afraid you were going to say that, I'm doing so myself right now 😭 @zLeki

Thanks for the quick response! I appreciate it.

@wrofe
Copy link

wrofe commented Mar 13, 2024

is there an ability to grab previous candle history?

@zLeki
Copy link
Owner Author

zLeki commented Mar 13, 2024

To the best of my understanding, it seems like it can't be done. But, feel free to try your hand at it. I suggest you look at the websocket contents because the info you want is there. Sadly, the code can only get candlestick data in the browser.

@kpathan
Copy link

kpathan commented Mar 14, 2024

is there an ability to grab previous candle history?

I was able to solve this using web socket and requesting for quote. Please check the network trace of the dxtrade. it has lot of features.
I am not good at golang or python. so my code might not be useful

@zLeki
Copy link
Owner Author

zLeki commented Mar 14, 2024

Any code will help, but thanks anyways this will be very helpful

@zLeki
Copy link
Owner Author

zLeki commented Mar 15, 2024

@kpathan Thank you for your help! I am pushing an update which includes the ability to fetch candlestick data.

@kpathan
Copy link

kpathan commented Apr 8, 2024

I would like to calculate lot size with fixed amount to risk.

Ex: $250 to risk, With Entry, Stoploss. Take Profit is also know, but does not matter.
I am new to forex, so I need some help with that

Thanks in Advance.

@kpathan
Copy link

kpathan commented Apr 8, 2024

@kpathan Thank you for your help! I am pushing an update which includes the ability to fetch candlestick data.

Great work!!!

@mubasher24
Copy link

how can i run this, noob in go

@orfeysoft
Copy link

Hello,

in the description of project is published the following information.

"API for dxtrade that can be used with all golang applications to open, close, and manage positions with your dxtrade account. It works with all prop firms or companies that use dxtrade"

We have tried to connect this SDK with any DXTRADE account but without success.
Could you provide some small example how to use your SDK with any DXTRADE account ?

Thank you in advance.

@zLeki
Copy link
Owner Author

zLeki commented Jan 2, 2025

Hello,

in the description of project is published the following information.

"API for dxtrade that can be used with all golang applications to open, close, and manage positions with your dxtrade account. It works with all prop firms or companies that use dxtrade"

We have tried to connect this SDK with any DXTRADE account but without success. Could you provide some small example how to use your SDK with any DXTRADE account ?

Thank you in advance.

I cannot maintain this repository anymore since my contract with FTMO ended, we can troubleshoot if you would like in a new issue thread. Apologizes for the late reply.

@orfeysoft
Copy link

I have two different DXTrade Demo accounts and can provide them for testing.
Please give me a valid email, I will send the account credentials.
Thanks !

@zLeki
Copy link
Owner Author

zLeki commented Jan 3, 2025

@orfeysoft shoot me an email at [email protected] and I'll give it a shot this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants