Python Forum
Trading Code - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: Trading Code (/thread-22563.html)



Trading Code - RotmanIT - Nov-17-2019

I need a code that interacts with a program called Rotman Interactive trader (server: flserver.rotman.utoronto.ca Port: 16600). The code has to fetch the price on the news tab as well as the market price. if the market price is below the news price than the program would put in a limit order and vice versa.


RE: Trading Code - jefsummers - Nov-18-2019

Not doing your homework for you, what have you written and what problems are you having?


RE: Trading Code - RotmanIT - Nov-18-2019

(Nov-18-2019, 01:41 AM)jefsummers Wrote: Not doing your homework for you, what have you written and what problems are you having?

Honestly, have no clue where to start especially on how to pull the data.


RE: Trading Code - buran - Nov-18-2019

In the Features section it mention REST API. There is no documentation on the site (or I was not able to find it). But that looks like promising place to start - find and familiarize your self with the REST API docs, e.g. authentication, endpoints, params you pass in request, etc.


RE: Trading Code - DeaD_EyE - Nov-18-2019

I guess you should read this: https://rit.rotman.utoronto.ca/demo.asp

There is a package for python which should work with rotman: https://pypi.org/project/ritpytrading/