Skip to content

justinbomber/trading_bot

Repository files navigation

This is some codes of grabbing data from bianance and coinbase

  • Binance : binance_find_data.py

Use binance_find_data.py to grab data from binance.

  • Coinbase : coinbase_data.py

Use coinbase_data.py to grab the data from coinbase.

ps. coinbase's request can only grab 300 days as maxium, be aware.

  • function.py

function.py includes some functions :

  1. traverse_data : this can grab any data from any folder in any suffix.
  2. to_json : convert csv to json
  3. EMA : return EMA in dataframe
  4. DEMA : return DEMA in fataframe.
  5. supertrend : return supertrend in dataframe.
  6. TD : return TD sequence in dataframe.
  • timeframe_change.py

Change a timeframe to another.

  • the rest of it.

Check it out by yourself, I coded these for fun.

About

some function of grabbing data from binance, coinbase,

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages