Forex Programming

Discussion in 'Forex' started by radny82, Oct 22, 2020.

  1. radny82

    radny82

    A few days ago I try the services of MQL BLUE and they have experience with programming. If you know any other good programmers, feel free to add information here.
     
  2. El Trado

    El Trado

    Why not do it yourself? It is very easy.

    Here is an excellent library for Forex-trading with Oanda: https://github.com/hootnot/oanda-api-v20

    This is for example all the code you need to download the first 5000 price-candles:

    Code:
    accountID = your_account
    token = your_token
    client = oandapyV20.API(access_token=token)
    
    params = {'count': 5000,'granularity': 'S5', 'from':'1971-01-01'}
    
    r = v20instruments.InstrumentsCandles(instrument='USD_NOK', params=params)
    client.request(r)
    
    r.response['candles']
    The first three lines ensures you get access. The next list a few parameters. Then the next line catches the info, before the last shows it on the screen.

    If you do not know how to code, you will pick it up very fast by looking at the examples
     
  3. radny82

    radny82

    If it's that simple, everyone will be a forex programmer... please be serious.
     
  4. Snuskpelle

    Snuskpelle

    D
    Depends on his project's threshold for beginner errors. Both if he himself programs it obviously, or if he gets a programmer unexperienced in the domain then that will cost some time on 'obvious' errors regarding uncommunicated specifics.

    Regardless, not everyone wants to be programmers (nor should they need to). Of course, if he has a brain sufficiently wired for logical thinking and never tried it, then he might find it a breeze. But chances are he has already considered that.
     
  5. zenlot

    zenlot

    It is simple. And everyone can program via various API's provided by brokers. The question is do you have an idea, edge, algo in mind? If you do, getting code for it is simple. But most of people don't, yet that doesn't make FX programming more difficult.

    Seems that you're mixing two.
     
    El Trado likes this.
  6. Snuskpelle

    Snuskpelle

    You're absolutely right that "program me bot that makes money" or whatever won't work. But I felt it's more productive to assume he knows what he's talking about despite the scarce details.

    As for using broker APIs, it depends. Real time and error handling issues can get in the way. An extended way of explaining it is that your program and the broker's API (and a lot of nodes behind that) form a distributed system, which are notoriously error prone.
     
  7. radny82

    radny82

    I sent a new request for a complex robot that works with 3 indicators, I use TP-SL, lots % of deposit and other functions. MQL BLUE did their job very well, I am satisfied. Within 3 days, I received my robot and MQL source file. I can certainly say that this is a good service and they have affordable prices.
     
  8. zenlot

    zenlot

    This whole thread actually looks like self promotion.
     
    El Trado likes this.
  9. um completely agree with you , after reading the thread it sounds a part of self advertisement. sounds not good at all and relevant.
     
  10. Is it possible for everyone to be a programmer?
     
    #10     Dec 14, 2020