Giter Site home page Giter Site logo

tws2unifeeder's Introduction

Tws2UniFeeder&nbsp

Реализация UniFeeder источника данных для МТ4/МТ5 серверов (MetaQuotes), который берёт котировки из терминала Traders-Workstation (TWS), модифиирует их, если нужно и отправляет подключенным по Socket клиентам.

Пример файла конфигурации appsettings.json

{
  "Tws": {
    "Host": "localhost",
    "Port": 7497,
    "ReconnectPeriodSecond": 5,
    "Mapping": {
      "EURUSD": {
        "LocalSymbol": "EUR.USD",
        "SecType": "CASH",
        "Exchange": "IDEALPRO"
      }
    }
  }
  "UniFeeder": {
    "Ip": "0.0.0.0",
    "Port": 2241,
    "Authorization": [
      {
        "Login": "quotes",
        "Password": "quotes"
      }
    ],
    "Translates": [
      {
        "Source": "EURUSD",
        "Symbol": "EURUSD_ecn",
        "BidMarkup": "-2",
        "AskMarkup": "4",
        "Min": "20",
        "Max": "0",
        "Digits": "5"
      },
      {
        "Source": "EURUSD",
        "Symbol": "EURUSD_c",
        "Fix": "20",
        "Digits": "4"
      }
    ]
  }
}

Interactive Brokers Traders-Workstation

  • compatible with Interactive Brokers TWS/Gateway API 9.73
  • supports NetStandard 2.0

UniFeeder socket server

  • supports netcoreapp3.0

Notes

TWS or Gateway must be running with API access enabled. In TWS, navigate to Edit / Global Configuration / API / Settings and make sure the "Enable ActiveX and Socket Clients" option is checked.

tws2unifeeder's People

Contributors

solomatovs avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.