Python Forum
Controlling multiple portfolios
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Controlling multiple portfolios
#1
Hello,
Wanted to ask how this can be done. An analytical model generates 5 trade ideas each hour. These trade ideas need to be placed immediately at market and tracked as a separate portfolio. Such 5-trade portfolio will be opened each hour (on average 21 each day). Each portfolio will be closed at the loss of 50 points. Or when the holding period reaches 20 hours. I wonder how this can be done?! Can this be done in Python (if yes which libraries you recommend) or it will be easier to do this in VBA?
Any suggestions are highly welcome
Reply
#2
absolutely can be done in python, probably already has been done.
As to what you should use, you'll have to dig a bit, but some of these may help: https://pypi.org/search/?q=daytrader
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020