Hidden divergence

Price Oscillator Possible Trend
Lower Low Higher High Up(Regular Bullish Divergence)
Higher High Lower High Down(Regular Bearish Divergence)
     
Higer Low Lower Low Up(Hidden Bullish Divergence)
Lower High Higher High Down(Hidden Bearish Divergence)
Read More
trading

Nginx [emerg] invalid log level

I was tring to have some custom nginx logs for different server names, so I read the doc for log_format and access_log, and then tested it with the following code.

Read More
nginx

'lazy' in relationship

I have been confused about the ‘lazy’ parameter in SQLAlchemy’s relationship() for a long time, and I came across with this problem again today when dealing with a project that needs a many-to-many relationship. As a result, I am tring to figure it out when to use each lazy strategy and summrize it here.

Read More
sqlalchemy
db

Mixin

  • Dont’t Repeat Yourself(DRY).
  • An optional add-on; without a Mixin, the object would work just fine.
  • Can override, or inject code into, the target’s methods
Read More
design_pattern

Tmux iterm conda

For some reason, when entering tmux from iterm, the $PATH was somehow reset which leads to mismatching of Conda’s Python from the system’s one.

Read More
casual
tmux
iterm

You're up and running!

Next you can update your site name, avatar and other options using the _config.yml file in the root of your repository (shown below).

Read More

Filter by tag: