Coder Social home page Coder Social logo

halo-hash's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @pannet1
  • ๐Ÿ‘€ Iโ€™m interested in stock market
  • ๐ŸŒฑ Iโ€™m currently learning python,js
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on python project
  • ๐Ÿ“ซ Reach me https://t.me/pannet1

halo-hash's People

Contributors

maheswaranpalaniselvan avatar pannet1 avatar

Stargazers

 avatar

Watchers

 avatar

halo-hash's Issues

main.py, line 250, in manage_strategy key error intc

+------------------------------------------+--------------------+
Traceback (most recent call last):
  File "/home/nitesh/.local/lib/python3.11/site-packages/pandas/core/indexes/base.py", line 3791, in get_loc
    return self._engine.get_loc(casted_key)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "index.pyx", line 152, in pandas._libs.index.IndexEngine.get_loc
  File "index.pyx", line 181, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 7080, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 7088, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'intc'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/nitesh/not_venv/halo-hash/halo_hash/main.py", line 689, in <module>
    execute_strategy(
  File "/home/nitesh/not_venv/halo-hash/halo_hash/main.py", line 475, in execute_strategy
    manage_strategy(sym_config, broker, ws)
  File "/home/nitesh/not_venv/halo-hash/halo_hash/main.py", line 250, in manage_strategy
    condition_1 = latest_record["intc"].item() < latest_record["into"].item()
                  ~~~~~~~~~~~~~^^^^^^^^
  File "/home/nitesh/.local/lib/python3.11/site-packages/pandas/core/frame.py", line 3893, in __getitem__
    indexer = self.columns.get_loc(key)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nitesh/.local/lib/python3.11/site-packages/pandas/core/indexes/base.py", line 3798, in get_loc
    raise KeyError(key) from err
KeyError: 'intc'

index or value error when short_listed.csv

when short_listed.csv is entered manually there is a value or out of index error. the same screenshot was attached in the halo hash several times now. suspicion is ..we are getting this issue if there is

  • an extra space or line break
  • there is already a stock in the previous line.

heiken ashi candles is very very wrong

the ha candles which we are generating is completely wrong, so much wrong that even the colors are not matching. colors are green and red.

green = open < close
red = open > close

exit condtions

50% exit

  • should happen on Heiken Ashi candles (60 Minutes)
  • display should show the time frame used for the exit, from config file

Exit all

  • should happen on heiken ashi candles (240 Minutes)
    • display should show the time frame used for the exit, from config file

main should get scan results and place trades according to the strategy file

strategy file should return scan results in the form of a list

['strategy_name', 'symbol', 'side']

main file, should manage existing positions first

suppose, if we have overnight position for strategy_1, then we will manage strategy_1 and scan for strategy_2 and run a full cycle till we are done with all the strategies.

once all strategies are scanned and trades are taken, we will again repeat the cycle, i.e. start from strategy_1 for the second trade.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.