Custom Scripts for SMA crossover

I am new to this platform and was unable to find any example for custom scripts which can be connected with IB for live trading. It will be great if someone can share links. Further, I wanted to know if there is any function for limit order and stop loss. Tried to find in API reference, but couldn't

Live trading: quantrocket blotter order ... will do live trading. See Moonshot - Live Trading for tutorial-style docs and API docs to go deeper.

One nice thing about QuantRocket is the command line tools are layered on top of the Python API which call HTTP services in Docker containers. So you can bring your stuff in at any of these layers.

Limit orders, stop losses: Orders are basically bags of properties; you get limit orders by setting some properties. Exactly how you do that depends on whether you're using the command line, Python, HTTP.

For a limit order set OrderType to LMT and add a LimitPrice property.

For stops, see Attach Exit Orders for some examples.

HTH, have fun.