Skip to content

nguyenthienhong/base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

base # Tín hiệu

if df['sma_short'].iloc[-2] < df['sma_long'].iloc[-2] and df['sma_short'].iloc[-1] > df['sma_long'].iloc[-1]: print("BUY SIGNAL") exchange.create_market_buy_order('BTCUSDT', 0.001) elif df['sma_short'].iloc[-2] > df['sma_long'].iloc[-2] and df['sma_short'].iloc[-1] < df['sma_long'].iloc[-1]: print("SELL SIGNAL") exchange.create_market_sell_order('BTCUSDT', 0.001)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors