cleanup
This commit is contained in:
@@ -25,7 +25,7 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
init_notebook_mode()
|
||||
|
||||
import CoreTraidMath
|
||||
import market_trade.core.CoreTraidMath
|
||||
import plotly.express as px
|
||||
|
||||
|
||||
|
||||
@@ -25,8 +25,8 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
|
||||
|
||||
import CoreTraidMath
|
||||
import CoreDraw
|
||||
import market_trade.core.CoreTraidMath
|
||||
import market_trade.core.CoreDraw
|
||||
init_notebook_mode()
|
||||
|
||||
class ADXI:
|
||||
@@ -165,8 +165,8 @@ class ADXI:
|
||||
|
||||
|
||||
|
||||
ans = CoreDraw.coreDraw(req,drawFig)
|
||||
|
||||
ans = market_trade.core.CoreDraw.coreDraw(req,drawFig)
|
||||
|
||||
|
||||
return ans
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
init_notebook_mode()
|
||||
|
||||
import CoreTraidMath
|
||||
import CoreDraw
|
||||
import market_trade.core.CoreTraidMath
|
||||
import market_trade.core.CoreDraw
|
||||
|
||||
|
||||
class Alligator:
|
||||
@@ -110,5 +110,5 @@ class Alligator:
|
||||
})
|
||||
|
||||
self.figDict=req
|
||||
ans = CoreDraw.coreDraw(req,drawFig)
|
||||
ans = market_trade.core.CoreDraw.coreDraw(req,drawFig)
|
||||
return ans
|
||||
@@ -24,8 +24,8 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
init_notebook_mode()
|
||||
|
||||
import CoreTraidMath
|
||||
import CoreDraw
|
||||
import market_trade.core.CoreTraidMath
|
||||
import market_trade.core.CoreDraw
|
||||
|
||||
|
||||
|
||||
@@ -104,5 +104,5 @@ class IDC:
|
||||
|
||||
|
||||
self.figDict=req
|
||||
ans = CoreDraw.coreDraw(req,drawFig)
|
||||
ans = market_trade.core.CoreDraw.coreDraw(req,drawFig)
|
||||
return ans
|
||||
@@ -24,8 +24,8 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
init_notebook_mode()
|
||||
|
||||
import CoreTraidMath
|
||||
import CoreDraw
|
||||
import market_trade.core.CoreTraidMath
|
||||
import market_trade.core.CoreDraw
|
||||
|
||||
class Envelopes:
|
||||
|
||||
@@ -120,5 +120,5 @@ class Envelopes:
|
||||
})
|
||||
|
||||
self.figDict=req
|
||||
ans = CoreDraw.coreDraw(req,drawFig)
|
||||
ans = market_trade.core.CoreDraw.coreDraw(req,drawFig)
|
||||
return ans
|
||||
@@ -24,9 +24,9 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
init_notebook_mode()
|
||||
|
||||
import CoreTraidMath
|
||||
import CoreDraw
|
||||
import Ind_Alligator
|
||||
import market_trade.core.CoreTraidMath
|
||||
import market_trade.core.CoreDraw
|
||||
import market_trade.core.Ind_Alligator
|
||||
|
||||
class Gator:
|
||||
|
||||
@@ -104,5 +104,5 @@ class Gator:
|
||||
|
||||
|
||||
self.figDict=req
|
||||
ans = CoreDraw.coreDraw(req,drawFig)
|
||||
ans = market_trade.core.CoreDraw.coreDraw(req,drawFig)
|
||||
return ans
|
||||
@@ -25,7 +25,7 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
import CoreDraw
|
||||
init_notebook_mode()
|
||||
import CoreTraidMath
|
||||
import market_trade.core.CoreTraidMath
|
||||
import plotly.express as px
|
||||
|
||||
|
||||
@@ -183,6 +183,6 @@ class Ishimoku:
|
||||
|
||||
})
|
||||
self.figDict=req
|
||||
ans = CoreDraw.coreDraw(req,drawFig)
|
||||
ans = market_trade.core.CoreDraw.coreDraw(req,drawFig)
|
||||
#print(ans)
|
||||
return ans
|
||||
|
||||
@@ -25,8 +25,8 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
init_notebook_mode()
|
||||
|
||||
import CoreTraidMath
|
||||
import CoreDraw
|
||||
import market_trade.core.CoreTraidMath
|
||||
import market_trade.core.CoreDraw
|
||||
|
||||
|
||||
class LRI:
|
||||
@@ -100,5 +100,5 @@ class LRI:
|
||||
|
||||
})
|
||||
self.figDict=req
|
||||
ans = CoreDraw.coreDraw(req,drawFig)
|
||||
ans = market_trade.core.CoreDraw.coreDraw(req,drawFig)
|
||||
return ans
|
||||
@@ -25,8 +25,8 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
init_notebook_mode()
|
||||
|
||||
import CoreTraidMath
|
||||
import CoreDraw
|
||||
import market_trade.core.CoreTraidMath
|
||||
import market_trade.core.CoreDraw
|
||||
|
||||
class ISTD:
|
||||
def __init__(self, base_df,options={}, needFig=False,showOnlyIndex=True,drawFig=False):
|
||||
@@ -84,5 +84,5 @@ class ISTD:
|
||||
|
||||
})
|
||||
self.figDict=req
|
||||
ans = CoreDraw.coreDraw(req,drawFig)
|
||||
ans = market_trade.core.CoreDraw.coreDraw(req,drawFig)
|
||||
return ans
|
||||
@@ -25,8 +25,8 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
init_notebook_mode()
|
||||
|
||||
import CoreTraidMath
|
||||
import CoreDraw
|
||||
import market_trade.core.CoreTraidMath
|
||||
import market_trade.core.CoreDraw
|
||||
|
||||
class Stochastic:
|
||||
|
||||
@@ -141,7 +141,7 @@ class Stochastic:
|
||||
|
||||
|
||||
|
||||
ans = CoreDraw.coreDraw(req,drawFig)
|
||||
ans = market_trade.core.CoreDraw.coreDraw(req,drawFig)
|
||||
|
||||
return ans
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
init_notebook_mode()
|
||||
|
||||
import CoreTraidMath
|
||||
import CoreDraw
|
||||
import market_trade.core.CoreTraidMath
|
||||
import market_trade.core.CoreDraw
|
||||
|
||||
|
||||
class BB:
|
||||
@@ -105,5 +105,5 @@ class BB:
|
||||
})
|
||||
|
||||
self.figDict=req
|
||||
ans = CoreDraw.coreDraw(req,drawFig)
|
||||
ans = market_trade.core.CoreDraw.coreDraw(req,drawFig)
|
||||
return ans
|
||||
@@ -24,20 +24,20 @@ from plotly.offline import init_notebook_mode, iplot
|
||||
from plotly.subplots import make_subplots
|
||||
init_notebook_mode()
|
||||
|
||||
import market_trade.CoreTraidMath
|
||||
import market_trade.CoreDraw
|
||||
import market_trade.Ind_bollingerBands
|
||||
import Siganls.coreSignal
|
||||
import market_trade.core.CoreTraidMath
|
||||
import market_trade.core.CoreDraw
|
||||
import market_trade.core.Ind_bollingerBands
|
||||
import market_trade.signals.coreSignal
|
||||
|
||||
|
||||
class SignalB_B_1(Siganls.coreSignal):
|
||||
class SignalBollingerBands1(market_trade.signals.coreSignal):
|
||||
def __init__(self,
|
||||
IndDict={},
|
||||
mode='retro',
|
||||
):
|
||||
super().__init__(name='1.1',mode=mode,target='nextBar',valeType='price')
|
||||
self.IndDict=IndDict
|
||||
self.BB=Ind_bollingerBands.BB(
|
||||
self.BB=market_trade.core.Ind_bollingerBands.BB(
|
||||
IndDict['BB']['df'],
|
||||
IndDict['BB']['params'],
|
||||
IndDict['BB']['needFig'],
|
||||
Reference in New Issue
Block a user