Pages:
Author

Topic: margin terminal - over 25 spot and futures exchanges! Bots and more - page 30. (Read 268864 times)

newbie
Activity: 2
Merit: 0
im using margin for some time already on ManjaroLinux 17.1.8 however the linux version doesnt seem to work (some network problem).
 https://imgur.com/8eWCK8vl.png
I'm forced to use windows version via wine. It works fine except occasionally crashing (sometimes after day, sometimes after few days). Any idea how to fix either of these problems?
newbie
Activity: 14
Merit: 0
EMA crossover bot explained


The EMA crossover bot can be started in one of three modes: buy, sell or any. In the 'buy' mode it will wait until a buy situation arises before triggering its first spot order. In 'any' mode it is ready to either buy or sell, whichever situation occurs first.

What triggers a buy?
A buy event is triggered when the short term EMA line crosses the long term EMA line from below.

What triggers a sell?
A sell event is triggered when the short term EMA line crosses the long term EMA line from above.

Important details
Please note that the EMA bot waits for a candle to fully form before calculating the current value of the two EMA lines. The actual value taken for each candle can be configured in the GUI, but the default is to take the closing value. This means that even though a crossover event may have occurred in a particular candle the bot will react one candle later. Reacting within a currently forming candle had the undesired effect of potentially multiple crossover events occurring.

It is also important to note that once the bot triggers a buy or sell event it places a spot order. This means that the resulting trade can be displaced from the crossover event due to having to overcome the spread and in cases where there is a shallow order book this can result in many partial order fills.

Crossover fine tuning



It is possible to add a buy or sell offset which provides more confidence that a crossover situation has occurred. These are visualised in the chart as separate lines ensuring you have a visual confirmation of their affect.









Default settings good old times buy high sell low
newbie
Activity: 11
Merit: 0

The app is stable for me on Linux, no crashes and constant memory usage, although I'm not heavily using bots at this time. Good job guys, really like the new features.

Can i ask which specific linux distro and version you are using?
member
Activity: 119
Merit: 10
This new release is simply awesome, two of the most asked features have been implemented. The drawing tools are just... beautiful! I've been playing with Fibonacci retracements, in parallel with some TA studies, and it's a valuable tool. By playing with it I've discovered some nice features such as "extend lines", the color / alpha transparency customizations, labels and, most importantly in this case, the ability to select which Fib levels we want. The simple tools like lines are also important, I'm personally using horizontal lines to mark price levels relevant for me (where I bought, sold etc.).

Regarding the EMA bot, from a "visual backtesting" I've been doing, it shows a huge potential, but I still haven't left it running "for real". By the way, I think that's a good tip: you can visually check how your bot & settings would perform visually, by scrolling the charts. While not a full, proper backtest with simulated P/L, it allows us to quickly have an idea. And I've noticed that the "best" bot will heavily depend on the market behavior, you'll have to do this visual backtest with each of the bots (including even the simpler ping-pong) to determine the best one. And sometimes it's best to manual trade, using the indicators.

The app is stable for me on Linux, no crashes and constant memory usage, although I'm not heavily using bots at this time. Good job guys, really like the new features.
jr. member
Activity: 253
Merit: 4
Just loving the visuals on the Fibonacci retracement tools.

Have not had the opportunity to try the bot yet, I've got a drop dead deliverable for Friday, but soon! Wink

Could not do it with the last version but can now restore my test bed of 26 bots on Bittrex.  Grin

More good news when I get some breathing room.

Have a great week everyone!
newbie
Activity: 11
Merit: 0
Still loving your bot!  i have been getting quiet a few bots being suspended, eg. It will purchase, but not list a sell or vice a versa, is there anything i can do to minimize this ?. Also was wondering if you have thought of arbitration on the same markets between exchanges? This could be great. As prices between exchanges often vary considerably.Another question is would it be possible to put the build no. on the update link ? so you can tell if you are useing the current version, instead of downloading and installing to see

usually this is because your funds are insufficient
jr. member
Activity: 140
Merit: 1
Still loving your bot!  i have been getting quiet a few bots being suspended, eg. It will purchase, but not list a sell or vice a versa, is there anything i can do to minimize this ?. Also was wondering if you have thought of arbitration on the same markets between exchanges? This could be great. As prices between exchanges often vary considerably.Another question is would it be possible to put the build no. on the update link ? so you can tell if you are useing the current version, instead of downloading and installing to see
newbie
Activity: 11
Merit: 0
come on man you need to make the engine rock solid before adding more features
you've added reddit but rss is still broken,

we want stability as a feature. you have a nice UI and relatively good useability but as a programmer myself i see many things that are not sexy
it will be a lot easier to fix now than later

eg when adding an exchange, the font switches from ubuntu to exo then back to ubuntu

you have a great product but it will evolve into a mess unless the core is made solid now

- audio notifications still dont work in windows 10


legendary
Activity: 1989
Merit: 1008
EMA crossover bot explained


The EMA crossover bot can be started in one of three modes: buy, sell or any. In the 'buy' mode it will wait until a buy situation arises before triggering its first spot order. In 'any' mode it is ready to either buy or sell, whichever situation occurs first.

What triggers a buy?
A buy event is triggered when the short term EMA line crosses the long term EMA line from below.

What triggers a sell?
A sell event is triggered when the short term EMA line crosses the long term EMA line from above.

Important details
Please note that the EMA bot waits for a candle to fully form before calculating the current value of the two EMA lines. The actual value taken for each candle can be configured in the GUI, but the default is to take the closing value. This means that even though a crossover event may have occurred in a particular candle the bot will react one candle later. Reacting within a currently forming candle had the undesired effect of potentially multiple crossover events occurring.

It is also important to note that once the bot triggers a buy or sell event it places a spot order. This means that the resulting trade can be displaced from the crossover event due to having to overcome the spread and in cases where there is a shallow order book this can result in many partial order fills.

Crossover fine tuning
It is possible to add a buy or sell offset which provides more confidence that a crossover situation has occurred. These are visualised in the chart as separate lines ensuring you have a visual confirmation of their affect.






legendary
Activity: 1989
Merit: 1008
margin 1.1.0 released


We've been hard at work to bring you 3 major new features: A new EMA crossover bot, Drawing tools and Reddit integration!!

Major new features
  • EMA crossover bot
  • Drawing tools (click on the pencil icon beside the indicator icon)
  • Reddit integration (add a subreddit channel to a tools window - top left hand corner of margin)

We also fixed the issue that moving a currency pair tab resets the chart settings to an older state.

Note that the Reddit thumbnail images are currently only available on Mac.



legendary
Activity: 1989
Merit: 1008
Quote
- constant saving log to text file
This is already available. Logs are saved in the hidden .margin and .leonArdo folders, respectively. These are in your home folder.

Thanks, ill post the last log lines after next crash
The logs are pretty huge, i don't think they follow the log level rules from the GUI. Do these ever get cleared?

They get trimmed after 10K lines. We allowed them to get a little bigger as otherwise the important part was sometimes gone.

The good thing is they are very compressible!

Thanks,
Jonathan

I don't think the trimming works... i'm at 240k lines. >>  https://imgur.com/a/61WeODQ
Ill try running margin as admin


hmm, not good.

Will look into it!

Thanks,
Jonathan
newbie
Activity: 11
Merit: 0
Quote
- constant saving log to text file
This is already available. Logs are saved in the hidden .margin and .leonArdo folders, respectively. These are in your home folder.

Thanks, ill post the last log lines after next crash
The logs are pretty huge, i don't think they follow the log level rules from the GUI. Do these ever get cleared?

They get trimmed after 10K lines. We allowed them to get a little bigger as otherwise the important part was sometimes gone.

The good thing is they are very compressible!

Thanks,
Jonathan

I don't think the trimming works... i'm at 240k lines. >>  https://imgur.com/a/61WeODQ
Ill try running margin as admin
newbie
Activity: 11
Merit: 0
i had a look at the end of the files before crash and don't see anything useful. most were 'heart is beating'

the app memory usage continually increases - it started at around 200mb and died at 927mb. Any GUI interactions increase it faster; i went to each pair and did a clear log and changed log display level to error and ended up with +50mb in use..
The machine has 32GB ram

I hope you can find these images useful
https://imgur.com/a/9shIfa7
legendary
Activity: 1989
Merit: 1008
Quote
- constant saving log to text file
This is already available. Logs are saved in the hidden .margin and .leonArdo folders, respectively. These are in your home folder.

Thanks, ill post the last log lines after next crash
The logs are pretty huge, i don't think they follow the log level rules from the GUI. Do these ever get cleared?

They get trimmed after 10K lines. We allowed them to get a little bigger as otherwise the important part was sometimes gone.

The good thing is they are very compressible!

Thanks,
Jonathan
newbie
Activity: 11
Merit: 0
Quote
- constant saving log to text file
This is already available. Logs are saved in the hidden .margin and .leonArdo folders, respectively. These are in your home folder.

Thanks, ill post the last log lines after next crash
The logs are pretty huge, i don't think they follow the log level rules from the GUI. Do these ever get cleared?
legendary
Activity: 1989
Merit: 1008
any tips on getting this bot to not crash?
tried on 2 ubuntu and 2 windows machines and cant get more than a day out of it

is it reliable on raspberry pi? i have a B+ (2014) i could try it on

also the RSS feed feature seems to be broken. I see icons but nothing shows on hover like in leonardo

Same reliability issue with me on Windows Home x64. Works good for 12-18 hours then it starts increasing CPU utilization before crashing.

yea im finding the same thing


Can you take a look at the memory utilisation? If you click in the bottom right hand corner you will see a graph.

Can you contact [email protected] and send us a screenshot of that after 12-18 hours.

Thanks a lot,
Jonathan

thanks guys, sorry for sounding like an ass but its getting frustrating.

if its easier to implement a workaround for the moment it would be appreciated - some features i think you need anyway:
- constant saving log to text file
- button to resume all bots
- make "save all strategies" a separate button
- watchdog to restart on crash
- allow numeric entry on font sizes, something up with the sliders

i have a watch on the memory using process explorer to see ram before crash


Hi anuuva,

No bother. I am sorry you are frustrated.

Let me run through your list of feature requests:

- constant saving log to text file
This is already available. Logs are saved in the hidden .margin and .leonArdo folders, respectively. These are in your home folder.
- button to resume all bots
Yes, a number of people have asked for this. Enough for me to think we should do it. Of course it carries a risk as the market may have changed in the meantime.
- make "save all strategies" a separate button
I'm reluctant to do this as it takes up space and actually will become redundant once all strategies are automatically saved.
- watchdog to restart on crash
Agree it would be nice.
- allow numeric entry on font sizes, something up with the sliders
Agreed.

Thanks for your feedback.

Best wishes,
Jonathan

newbie
Activity: 11
Merit: 0
any tips on getting this bot to not crash?
tried on 2 ubuntu and 2 windows machines and cant get more than a day out of it

is it reliable on raspberry pi? i have a B+ (2014) i could try it on

also the RSS feed feature seems to be broken. I see icons but nothing shows on hover like in leonardo

Same reliability issue with me on Windows Home x64. Works good for 12-18 hours then it starts increasing CPU utilization before crashing.

yea im finding the same thing


Can you take a look at the memory utilisation? If you click in the bottom right hand corner you will see a graph.

Can you contact [email protected] and send us a screenshot of that after 12-18 hours.

Thanks a lot,
Jonathan

thanks guys, sorry for sounding like an ass but its getting frustrating.

if its easier to implement a workaround for the moment it would be appreciated - some features i think you need anyway:
- constant saving log to text file
- button to resume all bots
- make "save all strategies" a separate button
- watchdog to restart on crash
- allow numeric entry on font sizes, something up with the sliders

i have a watch on the memory using process explorer to see ram before crash
member
Activity: 119
Merit: 10

Interesting article; as always, bringing valuable contributions to the forum, thanks! My personal experience with stop losses is somewhat mixed:

1) For high volume markets, it usually works, although I was commonly using a lower % than the article suggests (and indeed, sometimes it was triggered for the market to recover shortly after).

2) For low volume markets, which are susceptible to huge variations and market manipulations, I think it's usually a trap; but I barely trade in these markets anyway, because of these reasons (easy targets for P&D groups, for instance).

3) Trailing stop is wonderful if you place it in an upward trend. Margin has support for these orders on Bitfinex, which I tend to favor given this and some other reasons.

4) BUT despite being useful, given the wild west fuckfest the crypto markets have been recently (have you noticed what was precisely called the "Bart Formations", which is basically Bart Simpson's head, happening all the time with the BTC market some time ago?), I've been focusing on manual trading, and usually go to sleep with USD/USDT. Too many shocks after waking up when bought in crypto... Smiley
newbie
Activity: 20
Merit: 0
I've been using 3.7 x64 for a while and I just installed 3.8 x64. I'm getting the error "The code execution cannot proceed because libcrypto-1_1-x64.dll was not found. Reinstalling the program may fix this problem."

I've reinstalled and get the same error. Anyone know of a fix?

Win10x64 Pro 1709
legendary
Activity: 1989
Merit: 1008
any tips on getting this bot to not crash?
tried on 2 ubuntu and 2 windows machines and cant get more than a day out of it

is it reliable on raspberry pi? i have a B+ (2014) i could try it on

also the RSS feed feature seems to be broken. I see icons but nothing shows on hover like in leonardo

Same reliability issue with me on Windows Home x64. Works good for 12-18 hours then it starts increasing CPU utilization before crashing.

yea im finding the same thing


Can you take a look at the memory utilisation? If you click in the bottom right hand corner you will see a graph.

Can you contact [email protected] and send us a screenshot of that after 12-18 hours.

Thanks a lot,
Jonathan
Pages:
Jump to: