Plugin de órdenes iceberg de venta en spot
3
Follow
1507
Followers
Muy simple, solo para aprender.
El código es la mejor anotación.
Venta por iceberg, divide la orden en pequeñas ventas para evitar impactar el mercado, es una excelente estrategia de aprendizaje simple para iniciarse en el trading cuantitativo de Bitcoin.
El plugin se puede iniciar con un solo clic en el terminal de trading, sin coste, facilitando la negociación manual. Detalles: https://www.fmz.com/digest-topic/5051
Source
JavaScript
function main(){
var initAccount = _C(exchange.GetAccount)
if (initAccount.Stocks < SELLAMOUNT){
throw 'check your account amount to sell'
}
while(true){
var account = _C(exchange.GetAccount)
var dealAmount = initAccount.Stocks - account.Stocks
var ticker = _C(exchange.GetTicker)
if(SELLAMOUNT - dealAmount >= SELLSIZE){
var id = exchange.Sell(ticker.Buy, SELLSIZE)
Sleep(INTERVAL*1000)Strategy parameters
Related strategies
Comment
All comments (0)
No data
- 1
