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
Feature Request: Forex exchange implementation using Meta Trader 4 #97
Comments
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 1.0 ETH (184.42 USD @ $184.42/ETH) attached to it as part of the tensortrade-org fund.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work has been started. These users each claimed they can complete the work by 1 month, 1 week ago. 1) adivyas99 has been approved to start work. I have good experience in machine learning, Python and Reinforcement Learning. Pls, allow me to work on this project. Thanks. Learn more on the Gitcoin Issue Details page. |
⚡️ A tip worth 0.05000 ETH (9.47 USD @ $189.39/ETH) has been granted to @CoeJoder for this issue from @notadamking. ⚡️ Nice work @CoeJoder! Your tip has automatically been deposited in the ETH address we have on file.
|
Hello any progress here? |
I've gone through the docs and the tutorial to familiarize myself with the application and requisite concepts, and am beginning my implementation of this Exchange class now. |
@notadamking The requirement is for MT4 compatibility, however the company no longer provides an installer for MT4. Support threads on this topic suggest that you can only obtain MT4 through a broker, eg: Do you have an official installer for MT4 you could provide, or can this requirement be changed for MT5 compatibility? |
Update: I have the basic features working. It took longer than expected because I had to write additional MQL4 code than what was provided by the 3rd party connector library. Still working on it and will provide updates on progress this week as I have time. |
ok this is great!!! keep the good work mate, I am really looking forward to the update on the progress. |
@notadamking Almost done. I've created a nice API for all the data pulled from MT4, and have methods implemented which pull the data and makes trades as required. However there's a conceptual gap between crypto and forex trading, so I need clarification on what to return for a few
|
Hi @CoeJoder, Thanks for your contribution! I have been asked to pass some information along: |
Thank you for the response. I might be misinterpreting it, but I don't think it answered my question regarding the contract of the Other than figuring out how you want this packaged, it's pretty much done. |
Hello CoeJoder, |
@sleekmike Hi Mike. I have joined the discord group now. Currently I have a Python API for creating new market & pending orders, closing/deleting orders, checking all account properties (balance, margin, etc), checking all symbol properties (latest tick, fetching OHLCV bars), calling any of the built-in indicator functions, and fetching data from all available signals. These are demonstrated with a few dozen unit tests. I also have a partial implementation of The last reply I received 8 days ago from @notadamking seems to suggest I abandon the |
Ok great! what's your discord id or name? I want us to collaborate on this issue. |
Sounds good. Name is same as here, CoeJoder. |
Hey CoeJoder, Inputs to TT from from the MT4 :We get a lot of data , we need to have it all inside some kind of array that sums it all up, this should include. but some should go to
Exchange::net_worth() I think it's not necessary as we have it in Sending & TMF - Trade Management functions.** Trades to MT4:This was not discussed throughout the issue, and I am sorry I wasn't so clear about it, but it's crucial to the success of the implementation. When sending trades to MT4, we have few types of When we have open trades, we have few options that should be supported with TT & MT4. and all this relates to TMF - Trade Management functions. TMF should return values back to agent TT and the agent should interact with MT4 in the following way: will be able to modify an open orders/open trades: Hope that's clearer now. Cheers, |
Small note, most FX brokers nowdays supports more assets like CFD's , e.g gold, silver, crude oil, indices and more, it's important that the agent will be able to engage with those as well, and not just fx pairs. these are the parameters and characteristics these assets have: |
@TheSnowGuru Thank you for the very detailed response. The Regarding output/TMFs, yes all of the features you describe are already implemented, except for modification of sl/tp & trail (but I will add this now) and will be accessible in the Regarding exotic symbols, this should be fine. However I'm not seeing the same parameters and characteristics that you've listed (see below). Where are you seeing those fields? The values returned by the MQL4 programming language are standard for all symbols so I am unaware of those fields. |
@notadamking @TheSnowGuru @sleekmike I'd like to discuss increasing the bounty prize on this to 2 ETH. This has been a lot of work! ETH also dropped in price by a lot since this started.
|
Ok @CoeJoder I will get back to you on this soon! |
I was notified directly by the bounty sponsor that he and his partner are no longer interested in this feature, therefore I will stop work on it. |
Hello CoeJoder, your bounty will be paid shortly, we are still interested in the feature so I suggest you continue working on it. Thanks |
Hello CoeJoder! |
Hello @CoeJoder, |
@sleekmike No, the bounty still shows 1ETH: https://gitcoin.co/issue/notadamking/tensortrade/97/3678 Please read the gitcoin guidelines on how to price a bounty effectively: https://gitcoin.co/blog/tutorial-how-to-price-work-on-gitcoin/ |
Hello CoeJoder, |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done The funding of this issue was increased to 1.75 ETH (446.81 USD @ $255.32/ETH) .
|
Hello Cojoeder |
I've done years worth of work on MT4 previously and could take a look at this if:
Here's the caveats:
What I can do:
Could take a look at this soon if you can get me a working version with documentation. It will probably take a fair few days to implement and test. |
Hello @delaji-san, thanks for showing interests on this issue and would be really glad to if you could implement the Buy/Sell orders, check orders and other things that you mentioned. I can give you a working version tensortrade framework that I use to playground with and develop, I can also help you with documentation and guidance in setting this framework on your PC. Thanks |
If it would be easier for you to implement using MT5 and not MT4 , than go
for it.
buy sell is 6 types:
but limit
sell limit
buy market sell market
sell stop and lastly buy stop
thanks
…On Sun, Apr 5, 2020 at 11:23 AM Mike Ohanu ***@***.***> wrote:
Hello @delaji-san <https://github.com/delaji-san>, thanks for showing
interests on this issue and would be really glad to if you could implement
the Buy/Sell orders, check orders and other things that you mentioned. I
can give you a working version tensortrade framework that I use to
playground with and develop, I can also help you with documentation and
guidance in setting this framework on your PC. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABIRHQZDGHI2C76NT7IWD7TRLA5ZVANCNFSM4JLKLMYQ>
.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This Bounty has been completed. Additional Tips for this Bounty:
|
Funding:
1.75 ETH (~$450 USD)
Description:
Create an implementation of
Exchange
capable of trading any forex pair on the MetaTrader 4 (MT4) platform.Requirements:
Exchange
class, including the ability to list balance, net worth, asset valuations, trade history, etc.The text was updated successfully, but these errors were encountered: