Kapalı

Replace direct calls with global dictionaries

1 The purpose

This project is to modify two applications. The current communication between two applications is using direct reference-call and call-back. We need to use global dictionaries to replace these two calls.

• IBSampleApp of InteractiveBrokers (IB): this is a windows application sending trade order of stock, or option to the TWS API of IB.

• TWS API: this a windows API receiving orders from IBSampleApp.

TWS is windows application acting as order router. There is no need to modify it.

2 What should be modified

2.1 The current communication flow:

o Clicking “send” button of IBSampleApp by a user will call(a reference call) a method of TWS API directly to send order from IBSampleApp to TWS API

o TWS API will send order to TWS

o TWS will send order to server of IB

o When order status is changed, server of IB will call TWS

o TWS will call TWS API

o TWS API will call(callback) IBSampleApp to update order status on GUI.

2.2 New objects should be added:

o Two global dictionaries(GD), and two vectors

o GD_TStoIB: a GD which has a vector, V_TStoIB having order data

o GD_TSfromIB: a GD which has a vector, V_TSfromIB having order status data

o Add an event handler of GD_TStoIB in TWS API to get order data IBSampleApp

o Add an event handler of GD_TSfromIB in IBSampleApp to get order status data from TWS API

2.3 New communication flow:

o Clicking “send” button of IBSampleApp by a user will store order data into V_TStoIB which will be added into GD_TStoIB

o Event hanlder of GD_TStoIB will fire in TWS API and get order data

o TWS API will send order to TWS

o TWS will send order to server of IB

o When order status is changed, server of IB will call TWS

o TWS will call TWS API

o TWS API will store order status data into V_TSfromIB which will be added into GD_TSfromIB

o Event handler of GD_TSfromIB will fire in IBSampleApp to update order status and show them on GUI.

3 Requirement of your skills

• Familiar with API

• global dictionary

• Familiar with stock, and option trading

• Familiar with C# and VS 2017

Beceriler: C# Programlama

Daha fazlasını gör: python global variables not updating, how to use global dictionary in python, python global dictionary, python global keyword, python module global variable, python 2.7 global dictionary, global variables python 3, assign variable in function python

İşveren Hakkında:
( 5 değerlendirme ) Stockton, United States

Proje NO: #18743018

Bu iş için 2 freelancer ortalamada $200 teklif veriyor

maryumakhter5

I hold a degree in Computer Engineering. I minored in Programming with a focus in c,c++, assembly. Whether independent or operating on a team my analytical approach to problem solving has been a plus. i have experie Daha Fazla

$150 USD in 3 gün içinde
(6 Değerlendirme)
3.6
bslama4

Hi, I am interested in working in the project. I have integrated trading algorithms with Interactive Brokers for my previous works. I have built trading applications at Credit Suisse including strategies, front ends, Daha Fazla

$250 USD in 3 gün içinde
(0 Değerlendirme)
0.0