読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

Incremental magic numbers

1件の返信

RadarTradar

購読者、bbp_participant、コミュニティ、1 件の返信。.

プロフィールを表示

8年前 #236142

Greetings,

I am pursuing a simple program that would add positions at certain intervals as long as conditions remained favorable.

One problem is that for each new position the program would need to assign a new magic number.

Now, given that Long positions MagicLong numbers are < 2000 and Shorts MagicShort are > 2000 I would like a routine that creates a MagicLong number by incrementing the original variable while preserving it in an array so that all Long positions can eventually be closed if Short conditions are created. The reverse for Short positions.

Otherwise we need to create a new rule for each new entry with it’s own magic number. I’m just looking to see if there is a way to automate that.

Thanks for any suggestions!

RadarTradar

0

RadarTradar

購読者、bbp_participant、コミュニティ、1 件の返信。.

プロフィールを表示

8年前 #236143

May I also add that it would be wonderful to be able to cancel all positions and orders >2000 or <2000 so as to take care of all Long or Short positions/orders.

Is this a feature request? 😉

0

1件の返信を表示中 - 1 - 1件目 (全1件中)