Offline
Hi Alex
thank you for your answer. Yes, I mean the Position class from OpenQuant.API.
What I want to do is something like this:
public class MyPosition : OpenQuant.API.Position
// inheret everything from OpenQuant.API.Position
// implement additional public properties and methods
In the strategy code, I could access then for example Position.Qty as MyPosition.Qty but also new properties which I implemented, for example, MyPosition.StopPrice.
Is that possible to do?
Regards,
Boris
Offline
Hi
I would like to enhance and customize the Position class adding new public properties and methods. However, the Position class is a static class and I cannot write a new class lets say MyPosition class which inherits from the Position class.
Is there a way to write a new static MyPosition class which has all the members of the Position class and where I can add new members?
Regards,
Boris
Offline
You have class war from conservatives too, but I think the worst class war is the war to get rid of communitys and thats left wing its Political correctness its multicultural all things of the left
Offline
I just think most of the problems of poverty in the uk come down to concern for other countrys and importing people and problems from abroad .
go to say the gumtree and look at jobs its all collecting for charitys most of which send that money abroad .
war on terror would it concern us if we hadnt imported people from abroad, the class war as been waged by labour on the working class in this country by importing people to replace them