I would like to know how I can short a position with my custom data feed?
I am using AddData<T>() for adding my data and saw that market hast to be set to short(I think), but there is no market to select.
I have the market string for my data..
-What I thought how it works
For shorting Order(symbol, -quantity)
For long position Order(symbol, quantity)
when I use the negative quantity I get an error saying it gets rounded to 1 because there is no brokrage set.
From Console: "20200718 16:05:30.934 ERROR:: Warning: Due to brokerage limitations, orders will be rounded to the nearest lot size of 1"
How can I do it correctly?