YasmanyArciaCorcho / trading-stocks

Platforms to develop, test, and run stock trading strategies
0 stars 0 forks source link

Test the Limit order to execute the exits #21

Closed YasmanyArciaCorcho closed 1 year ago

YasmanyArciaCorcho commented 2 years ago

Strategy: vwap v0.0.0.7

Right now we are using a market order to enter a trade and a liquidate to exit from the trade. We are experimenting some numerical differences on our expected exit from the trades.

We would like to test the performance of the swap strategy by sending a limit order to sell just after realizing a market order to buy. The limit order should be based on the price returned from the market order ticket and our limit order's current risk.