Stackoverlfow.com上有一篇有趣的讨论帖: 在这篇帖子里提到了如下的程序: 明明是在程序里使用了java...
'filters': [{'minPrice': '0.01', 'maxPrice': '100000', 'filterType': 'PRICE_FILTER', 'tickSize': '0.01'}, {'stepSize': '0.001', 'filterType': 'LOT_SIZE', 'maxQty': '1000', 'minQty': '0.001'}, {'stepSize': '0.001', 'filterType': 'MARKET_LOT_SIZE', 'max...
strategy.entry(“long”, strategy.long, 100, when=strategy.position_size <= 0) Enter a trade with a long position for 100 units when conditions such as this position size is met. strategy.exit(“exit”, “long”, stop=stopLoss, limit=takeProfit) Exit a trade based on a stop loss or...
2. No trading module - only paper trading. I'm using tradingview on the web to make trades (I use the long drawing tool and convert it to an order - this forces me to always have a stop defined when I open a position, and also sets the order size according to a fixed risk - it...