Wednesday, June 21, 2023

Earn by watching youtube videos - XCAD

 Project Name : XCAD

Is this project web-based or app based:

 It is app based project. Go to playstore install XCAD on your device. 








How to register: 

Download the app, and sign-up

Overview

XCAD Network is a platform harnessing the value of Content Creator audiences via tokenization. Join the #Watch2Earn Community!

Is there any investment required: 

Yes

How much investment is required :

Presently there are different categories as can be seen below

1.Basic : ~ 180  













2. Common : ~ 515 












3. Mystery : ~ 1500 








4. Rare ~ 2460 









How do I Invest:

Choose from one of the four categories (basic,common, mystery or rare) and deposit display amount + 10% of the bnb. Extra 10% is to purchase few xcad and play tokens.

How to Earn :

  1. Watch youtube videos based on category of nft.  
  2. By watching videos you will earn play tokens. 
  3. # of play tokens depends on the category (basic, common, mystery & rare).
  4. Now there are two ways to convert to USDT
    1. Sell play tokens directly on mexc, kucoin
    2. Swap play tokens to bnb and sell bnb on any exchange.(You can also hold bnb :))

How to withdraw:

  1. To withdraw (either play tokens or bnb) add your bnb or play address by navigating to adress book and add your address.









Thursday, March 16, 2023

Position Size & Risk Calculation

Assumption

Portfolio Size : 100 USD

Risk/Trade : 5% i.e. 5 USD


  1. Calculate Open Price (with DCA)

  1. Calculate Risk 


  2. Calculate Position
    1. Like in above screen shot , risk is 4.88% on 1 x , and suppose I am ready to loose 5 USD on this trade so my position size would be


  3. Calculate Leverage
    1. Safe Leverage


    2. Liquidation Leverage:  In this example due to high leverage (21 here ) you might get liquidated if  eth doesn't fall/short . 




Tuesday, March 29, 2022

Basics Of Aspect Oriented Programming

Concern

A concern is a part of a system divided on the basis of functionality. It can be as general as the details of the database interaction or as specific as performing a primitive calculation. Usually, code can be separated into logical sections, each addressing separate concerns.  A concern can be categorized into two types as below:-
  1. Core-concerns, &
  2. Cross-cutting concerns This type of concern is shared across multiple application modules and represent functionalities for secondary requirements for example logging, security, and data transfer are concerns that are needed in almost every module of an application, hence also called system-wide concerns.



AOP

Most of the enterprise applications have some common crosscutting concerns that are applicable to different types of Objects and modules. Some of the common crosscutting concerns are logging, transaction management, data validation, etc.





How to Enable AOP

<!-- Enable AspectJ style of Spring AOP -->
<aop:aspectj-autoproxy />

How to Configure Aspects

There are 2 ways to configure the aspects as below:

Annotation Based










XML Based




References:
1. https://medium.com/anatta-design/cross-cutting-concern-aadf4f51a5c1
2. https://www.journaldev.com/2583/spring-aop-example-tutorial-aspect-advice-pointcut-joinpoint-annotations