[ES-EN] Hive-Engine la manera segura de hacer Spot-Trading desde Cuba

in Hive Cubalast year (edited)

Los mercados de #Hive tanto en su red principal como en Hive-Engine son una opción excelente para el intercambio de criptomonedas, sobre todo desde Cuba.



Hive Engine y sus principales DEX FrontEnds
Hive Engine and its main DEX FrontEnds

Recientemente estuve investigando sobre que soluciones descentralizadas que existen que permitan realizar intercambios de criptomonedas con opción de mercado con límite, de forma segura y sobre todo desde Cuba. Mi sorpresa fue encontrar en mi propia cara como Hiver la solución HIVE-ENGINE IS THE WAY.

Corren tiempos convulsos donde lo impensable pasa de forma natural. ¿Quién creería que FTX el cuarto mayor intercambio centralizado del mundo estaría enmarañado y caería en un evento de cisne negro afectando profundamente a todo el universo cripto? Es que cada vez se hace más notable la necesidad de ser los dueños de nuestros activos y hacer voto al concepto* "No son tus llaves no son tus criptos" *. El riesgo siempre es mayor cuando se necesita a un tercero de confianza y el verdadero sentir del universo cripto es que solo se puede confiar en la desconfianza.

The #Hive markets both on its main network and on Hive-Engine are an excellent option for cryptocurrency exchange, especially from Cuba.

Recently I was researching what decentralized solutions exist that allow cryptocurrency exchanges to be made with a limit market option, safely and especially from Cuba. My surprise was to find in my own face as an Hiver the solution HIVE-ENGINE IS THE WAY.

These are turbulent times where the unthinkable happens naturally. Who would believe that FTX the fourth largest centralized exchange in the world would be entangled and fall into a black swan event deeply affecting the entire crypto universe? It is that the need to be the owners of our assets is becoming more and more noticeable and to make a vow to the concept "They are not your keys they are not your cryptos". The risk is always greater when you need a trusted third party and the true feeling of the crypto universe is that you can only trust on distrust.

Las implicaciones de ser cubano // The implications of being Cuban

Cuando se trata de acceso a plataformas tecnológicas en internet, sobre todo cuando hay presencia de finanzas, los cubanos sufrimos grandes limitaciones. Es que las leyes extraterritoriales en el mundo de las finanzas y el miedo a recibir medidas directas del gobierno de EUA en estas plataformas es evidente y hasta cierto punto justificable: *"un cliente que puede traerte pérdidas es indeseable" *. Pero es una ironía limitarnos nuestro acceso cuando se trata de criptomonedas y la blockchain, pues su sentido de existencia es la pura libertad e igualdad de oportunidades.

Es común que un cubano navegando en internet reciba el error 403, que algunos sortean usando VPN. También es común que en los términos y condiciones del servicio te excluyan de manera evidente, o peor, una vez dentro de estas plataformas te cancelen el servicio o congelen los activos.

A sortear estas dificultades hemos aprendido, comunidades como @hivecuba o @bitcoinasere se dedican a hacerle la vida más llevadera a los criptoentusiastas ofreciendo soluciones y caminos necesarios para evitar las trampas mientras jugamos en el buscaminas de Internet. Las criptomonedas han servido para devolvernos la dignidad en Internet y nuestros derechos como ciudadanos del mundo.

When it comes to access to technological platforms on the internet, especially when there is a lack of finances, Cubans suffer great limitations. It is that the extraterritorial laws in the world of finance and the fear of receiving direct measures from the US government on these platforms is evident and to some extent justifiable: " a client who can bring you losses is undesirable". But it is an irony to limit our access when it comes to cryptocurrencies and the blockchain because their sense of existence is pure freedom and equal opportunities.

It is common for Cuban browsing on the Internet to receive error 403, which some get around using VPN. It is also common that in the terms and conditions of the service they exclude you in an obvious way, or worse, once inside these platforms they cancel the service or freeze the assets.

We have learned how to overcome these difficulties, communities like @hivecuba or @bitcoinasere are dedicated to making life more bearable for crypto enthusiasts by offering solutions and necessary ways to avoid traps while playing on the Internet minesweeper. Cryptocurrencies have served to restore our dignity on the Internet and our rights as citizens of the world.

CEX, SWAP & DEX

Pese a las restricciones hay varios intercambios centralizados (CEX) que permiten bajo ciertos límites la operación de cubanos. Algunos más osados como CoinEX que permiten el KYC de cubanos, y ha subvencionado actividades educativas en Cuba, y otros que no necesitan KYC si operas por debajo de un límite razonable que en el contexto cubano es más que suficiente como Kucoin.
El mayor interés en estas plataformas está en quienes se dedican a hacer trading. Existe en Cuba toda una comunidad que estudia esta actividad, capacita y ofrece asesorías a los nuevos usuarios, sobre todo en @bitcoinasere https://t.me/BitcoinAsereComunidad.

Independientemente de que nos permitan el acceso o no, las CEX siempre conllevan riesgos de inoperatividad. Es común que sean susceptibles a los giros del mercado y en momentos de gran volatibilidad los retiros sean congelados y no precisamente por problemas como ahora en FTX.

Para realizar intercambios directos, dicho de otro modo SWAP existen muchas opciones, las más populares para nosotros los cubanos son FixedFloat, ChangeNow e incluso en la pasarela de pagos QvaPay. Este tipo de soluciones te permite hacer intercambios rápidos entre criptomonedas de manera que la entrada y salida siempre está en tu poder, tus llaves tus criptos. Pero si estás buscando un precio relativo de intercambio que te sea ventajoso, lo que en términos de intercambio se conoce como orden de límite esta solución no es la adecuada.

Por mucho tiempo estuve haciendo intercambio de límite usando el API FixedFloat de una manera bastante incómoda. En esencia estuve haciendo llamada al API para chequear precio de los activos a intercambiar y lanzando una notificación en el momento que el precio era el que me convenía. También me pasó que en el momento del cambio perdía unos minutos entre que vería la notificación ponía los datos, hacía el envío y recibía mis fondos de retorno, la volatilidad la mayoría de las veces me hacía malas jugadas. Les dejo a continuación mi script en Ipython o Jupyter que usé en el proceso por si a alguien le resulta interesante:

Despite the restrictions, there are several centralized exchanges (CEX) that allow, under certain limits, the operation of Cubans. Some more daring ones like CoinEx allow the KYC of Cubans and have subsidized educational activities in Cuba and others do not need KYC if you operate below a reasonable limit that in the Cuban context is more than enough as Kucoin. The biggest interest in these platforms is in who is engaged in doing trading. There is a whole community in Cuba that studies this activity, trains, and offers advice to new users, especially in @bitcoinasere https://t.me/BitcoinAsereComunidad .

Regardless of whether we are allowed access or not, the CEX always carries risks of inoperability. It is common for them to be susceptible to market gyrations and at times of great volatility, withdrawals are frozen and not precisely because of problems as now in FTX.

To make direct exchanges, in other words, SWAP there are many options, the most popular for us Cubans are FixedFloat, ChangeNOW and even on the payment gateway QvaPay. This type of solution allows you to make fast exchanges between cryptocurrencies so that the entry and exit are always in your possession, your keys your cryptos. But if you are looking for a relative exchange price that is advantageous to you, what in exchange terms is known as limit order this solution is not the right one.

For a long time I was doing limit intercabio using the API FixedFloat in a rather awkward way. In ecencia I was making a call to the API of the price of the assets to be exchanged and launching a notification at the moment that the price was the one that I was interested in. It also happened to me that at the time of the change I lost a few minutes between when I would see the notification I put the data, made the shipment and received my return fords, which most of the time made bad plays for me. I leave you below my script in Ipython or Jupyter that I used in the process in case anyone finds it interesting:

import os
import numpy as np
from fixedfloat import FixedFloatAPI
import pandas as pd
pd.set_option("display.precision", 8)
from IPython.display import display, Audio, HTML
import ipywidgets as widgets
from decimal import *
from time import time, sleep
import threading

apiKey="yourFixedFloatAPIKey"
apiSecret="yourFixedFloatSECRETKey"
elap=127 # time to refresh threads

ff = FixedFloatAPI(
key=apiKey,
secret=apiSecret
)

cmd='notify-send -u critical \'Do exchange\''

def Notify():
    os.system(cmd)

#Sell order BTC->USDT/TRC20 example

def GenOrderUp(fr='BTC',to='USDTTRC',amount='1.0',evalue=1,address=None):
    b=widgets.FloatText(value=0,description="Price:",disabled=False)
    gt=widgets.FloatText(value=0,description="Get:",disabled=False)
    us=widgets.FloatText(value=0,description="Value:",disabled=False)
    kg=widgets.FloatText(value=0,description="Mult:",disabled=False)
    tx=widgets.Text(value="Void",description="Tendency",disabled=False)
    files='Ramnstein Exitos 02 - Engel.mp3' #Set here your preferred music to notify
    vidd=Audio(files,autoplay=True)
    display(b,gt,us,kg,tx)
    def foo(b,vidd,evalue,):
        status=True
        while True:
            price = ff.getPrice({'fromCurrency': fr, 'toCurrency': to, 'fromQty': amount, 'type': 'float'})
            anm=b.value
            b.value=float(price['to']['amount']/price['from']['amount'])
            us.value=price['from']['usd']
            gt.value=price['to']['amount']
            kg.value=100*(1.0-b.value/float(price['from']['rate']))
            tens="Up"
            if b.value>anm:
                tens="Down"
                
            tx.value=tens
            if b.value>=evalue and status:
                vidd.autoplay=True
                display(vidd)
                Notify()
                vidd.play=True
                status=False
            sleep(elap - time() % elap)
    threading.Thread(target=foo,args=(b,vidd,evalue,)).start()

# Usage example  I sell 500 TRX if price TRX/ price BUSDBSC >  0.09003368421052632 == Limit Sell

GenOrderUp('TRX','BUSDBSC', '500',0.09003368421052632)



Captura de pantalla de mi Notebook de Jupyter
Screenshot of my Jupyter Notebook

Los intercambios descentralizados DEX por su parte te permiten hacer SWAP entre diversos token dentro de una cadena de bloques, la diferencia con FixedFloat por poner un ejemplo, es que durante el tiempo que se ejecuta el intercambio, envías tus fondos a una dirección que te proveen, esperan a que se confirme en la blockchain que enviaste los fondos, se realiza el intercambio en la plataforma y te notifican que te fue enviado el monto adecuado pasa un tiempo en que no estás en poder de tus fondos, ocurren errores y tienes que a veces contactar a soporte para que te destrabe tus fondos.

Aprovecho para reconocer públicamente que el soporte de FixedFloat y ChangeNow es muy rápido y profesional.

Con la mayoría de los DEX pasa lo mismo que con los SWAP, solo te permiten hacer intercambios según las tasas del momento. Hay muy pocas soluciones, casi inexitentes, que incluyen libros de órdenes y operaciones de creación de marcado de límite. Una de las pocas DEX que permiten operaciones de límite sobre las cadenas de bloques de ETH, BSC y Polygon es 1Inch y Matcha.Xyz. En el caso de 1Inch adivinen:

Decentralized DEX exchanges, on the other hand, allow you to SWAP between various tokens within a blockchain, the difference with FixedFloat, for example, is that during the time the exchange is running, you send your funds to an address that they provide you, they wait for it to be confirmed on the blockchain that you sent the funds, the exchange is made on the platform and they notify you that the appropriate amount was sent to you. Some time passes when you are not in possession of your funds, errors occur and you sometimes have to contact support to unlock your funds.

I take this opportunity to publicly acknowledge that the support of FixedFloat and ChangeNOW is very fast and professional.

With most DEX the same thing happens as with SWAPS, they only allow you to make exchanges according to the conditions of the moment. There are very few solutions, almost non-existent, which include order books and limit markup creation operations. One of the few DEX that allows limit operations on the ETH, BSC, and Polygon blockchains is 1Inch and Matcha.Xyz. In the case of 1Inch guess:



Captura de pantalla al acceder desde Cuba a 1Inch
Screenshot when accessing 1Inch from Cuba


Capturas de pantalla al acceder Matcha
Screenshot when accessing to Matcha

Resulta evidente que para acceder a 1Inch habría que hacerlo por VPN lo cual por amor propio no hago, evito todo aquello que me discrimine como ser humano. En el caso de Matcha las órdenes de límite tienen caducidad, por lo que ejecutar poner una orden puede tener un costo adicional de pago del gas necesario, más allá de lo habitual de la red específica.

It is obvious that to access 1Inch you would have to do it by VPN, which I don't do for my own sake, I avoid everything that discriminates against me as a human being. In the case of Matcha, limit orders expire, so executing an order may have an additional cost of paying for the necessary gas, beyond the usual for the specific network.

Hive & Hive-Engine

La operación de intercambio se ha incluido inteligentemente en HIVE de forma nativa desde su diseño. Se ha implementado en su capa base L1 su propio mercado que ayuda a estabilizar nativamente el par HIVE/HBD, éste lo pueden ver directamente acá: https://wallet.hive.blog/market.

The swap operation has been cleverly included in HIVE natively since its design. Its own market has been implemented in its L1 base layer that helps to natively stabilize the HIVE/HBD pair, you can see it directly here: https://wallet .hive.blog/market.



Captura de pantalla en wallet.hive.blog
Screenshot on wallet.hive.blog

Además en su capa L2 destinada a Dapps y contratos inteligentes se ha implementado la creación de token y los intercambios, y desde bien temprano se implementó la creación de órdenes de límite. Esta capa es la que se conoce como Hive-Engine teniendo varios FrondEnds como el propio Hive-Engine, Tribaldex o LeoDex, entre otros. Más allá del diseño visual todos ejecutan las mismas acciones e interacciones durante los intercambios.

He estado atento a las publicaciones diarias de @taskmaster4450, yo le recomiendo a todos darle una vista por su profundo carácter educativo sobre la plataforma Hive y otros temas. A través de él he visto la evolución del ecosistema y noticias alentadoras de las funcionalidades que se vienen, no se sorprendan si pronto existiera un mercado de futuros descentralizados 😏.

Entre las principales funcionalidades se destacan:

  • Intercambio SWAP entre tokens del ecosistema Hive.
  • Creación de órdenes de límite entre varios tokens y SWAP.HIVE.
  • Creación de Tokens.
  • Tokens con valores vinculados.
  • Interacción directa mediante el API de Hive-Engine.
  • Mucho más en cuanto se habilite plenamente la ejecución de contratos inteligentes 🤗.
  • Las operaciones se realizan con cero fee, solo el gasto normal de los RC por el uso común de la cadena de bloques de Hive.

In addition, in its L2 layer intended for Dapps and smart contracts, token creation and exchanges have been implemented, and very early on the creation of limit orders was implemented. This layer is what is known as Hive-Engine having several FrondEnds like the Hive-Engine itself, Tribaldex or LeoDex, among others. Beyond the visual design, everyone executes the same actions and interactions during the exchanges.

I have been attentive to the daily publications of @taskmaster4450, I recommend everyone to give it a view for its deep educational character on the Hive platform and other topics. Through it I have seen the evolution of the ecosystem and encouraging news of the functionalities that are coming, do not be surprised if soon there would be a decentralized futures market 😏.

Among the main functionalities stand out:

  • SWAP exchange between Hive ecosystem tokens.
  • Creation of limit orders between several tokens and SWAP.HIVE.
  • Creation of Tokens.
  • Tokens with linked values.
  • Direct interaction using the Hive-Engine API.
  • Much more as soon as the execution of smart contracts is fully enabled 🤗.
  • The operations are carried out with zero fee, only the normal expense of the users for the common use of the Hive blockchain.

Súmese a todo esto la capacidad de depositar, retirar varias criptomonedas o tokens, incluso @financeleo tiene disponible puentes con ETH, BSC y Polygon con comisiones de un 1% e inferiores. Puede conocer más en el FAQ de Hive-Engine o la LeoPedia. Y por si fuera poco, sus token respaldados y almacenados en Hive-Engine los puedes transferir con un tiempo de confirmación de 3 segundos y a cero fee, solo el consumo de RC correspondiente.

Add to all this the ability to deposit, withdraw various cryptocurrencies or tokens, even @financeleo has available bridges with ETH, BSC and Polygon with commissions of 1% and below. You can find out more in the Hive-Engine FAQ or the LeoPedia. And if that wasn't enough, their tokens backed up and stored in Hive-Engine can be transferred with a confirmation time of 3 seconds and at zero fee, only the corresponding RC consumption.

En un próximo post les detallaré mis experiencias. Mientras tanto lo invito a que lea estos magníficos post:

In a next post I will share my experiences. In the meantime I invite you to read these magnificent post:

Sort:  

Excelente resumen o post 😁 de oportunidades

Qué gran honor me hacen @rutablockchain, espero merecerlo. Muchas gracias por la consideración.


The rewards earned on this comment will go directly to the people( @ertytux ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.

Congratulations @ertytux! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

You received more than 1750 upvotes.
Your next target is to reach 2000 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Excelente artículo, muy educativo y necesario!! Mil Gracias. Quedo en espera del próximo post.

Educar es el propósito. Gracias a ti por comentar.