if(State == State.Realtime)
{
Share("Twitter", "Sell");
Share("Twitter", "The instrument name is "+Instrument.FullName+" and the current price is "+Close[0]);
}
No matter what I do, it keeps on trying to send a damn screenshot and never sends the tweet.
Heres my results:
The image at location 'orderId='0c9fd98dd26a4b5fa7a8057f5a19f5ef' account='Sim101' name='Close' orderState=Filled instrument='MES 03-22' orderAction=Sell orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Day oco='' filled=1 averageFillPrice=4310 onBehalfOf='' id=13985 time='2022-03-01 23:06:47' gtd='2099-12-01' statementDate='2022-03-01'' cannot be found. The image at location 'Filled' cannot be found. The image at location 'orderId='a14a7e072251434a892da92881014acf' account='Sim101' name='' orderState=Filled instrument='MES 03-22' orderAction=Buy orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Day oco='' filled=1 averageFillPrice=4310.5 onBehalfOf='' id=13987 time='2022-03-01 23:07:16' gtd='2099-12-01' statementDate='2022-03-01'' cannot be found. The image at location 'Filled' cannot be found. The image at location 'orderId='945749e92d5c4101abb7c00c30b215f3' account='Sim101' name='Close' orderState=Filled instrument='MES 03-22' orderAction=Sell orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Day oco='' filled=1 averageFillPrice=4311.5 onBehalfOf='' id=13989 time='2022-03-01 23:28:56' gtd='2099-12-01' statementDate='2022-03-01'' cannot be found. The image at location 'Filled' cannot be found.

Comment