broker with the most instruments that can be accessed via MT4

Discussion in 'Forex' started by dima777, Sep 26, 2020.

  1. dima777

    dima777

    Hello,
    I wonder which broker offers the most symbols that can be accessed via MT4 in realtime? I know fxpro has quite a lot of symbols - maybe there is any other broker offering even more ??? like 200-300 symbols?
     
  2. Did no one respond? I need the answer to this question as well.
     
  3. El Trado

    El Trado

    Oanda had 193 last time I checked...
     
  4. I think FXPro has quite a lot , there may be others too and you can search them online.
     
  5. Andrew_87

    Andrew_87

    Fxview too has a lot, I think. how do you count though?
     
  6. dima777

    dima777

    thanks - how did you count??))
     
  7. kroxobor

    kroxobor

    Check also Tickmill and Hotforex. They should definitely have 150+ instruments since apart from currencies they support bonds, indices, stocks commodities as well.
     
  8. El Trado

    El Trado

    I trade with algoritms, so it is as easy as writing len(instruments) and I get the answer 193. My code gets all the tickers to scan each individually for opportunities
     
  9. dima777

    dima777


    sounds interesting - maybe you have seen a code which can download the data for all instruments (eg daily data) at once as batch code? 0 just run it once and you have the folder full of all csv files with the latest daily data for all instruments in MT4?
     
  10. El Trado

    El Trado

    Well. I have been doing this for a while, so I have about 8 tb data laying around running models on. And my algos are trading 24 hours a day... I guess it takes the fun out of trading. But, as long as I make money, I do not care that I "am not allowed to touch anything" ;-)

    However, I am not using MT4. Its all Python connected to their API.

    It is relatively easy. Especially if you use this: https://github.com/hootnot/oanda-api-v20

    For example, if you run this code, it will download the 5000 first candles for USD_NOK with 5 second granularity:

    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']

    Just run this code a few thousand times, while updating the starting point and saving the data, and you will have a complete history of USD_NOK with 5 second granularity on your hard drive in no time.
     
    Last edited: Oct 4, 2020
    #10     Oct 4, 2020