The resource loading... loading...

Is it possible to write a hanging list function in Ma?

Author: bradsun91, Created: 2020-07-13 13:34:16, Updated: 2020-07-13 13:48:37

For example, suppose there is a one-hour frequency strategy where each current one-hour bar runs out, and if there is a current trading signal, the limit order is immediately set to the closing price of the previous one-hour bar as the specified trade price, in order to minimize slippage (at the expense of the possibility of a trade not going in).

Do any of you know how to write this list of conditions in Malayalam? or any code for a list of conditions in Malayalam that can be a little inspiring, thank you!


More

The grassThe Mac language itself has no listing mechanism, so it is recommended to use j or python.

bradsun91Okay, thank you.

The grassSee the recommended tutorials in the API documentation, as well as links to e-books and videos.

bradsun91Well, thank you, is there a specific example of Python hang list?