Python Forum

Full Version: Trading Code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Not doing your homework for you, what have you written and what problems are you having?
(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.
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.
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/